Systems

Softcoded systems for games

(Shotgun) DSS Chargen Code

Some more scraps I found. I ended up recoding some of the chargen commands to work with my systems. This might give some indication of the approach I used to reprogram the system, and make it easier to reproduce things if people are interested.

@create DSS Chargen Commands
@link DSS Chargen Commands = #0
@set DSS Chargen Commands = WIZARD

Old Reworked DSS Database Code (Scraps)

A long, long time ago. In a galaxy far away...

I reworked Dahan's Skill System Database code to support strings of data in a more clean and convenient way. It was to be said that my admin had decided with me, that we would prefer to not have a skill system on our MUSH at that time. With the wave of my hand, I destroyed the system. However, after a little scrounging, I was able to find the back up of the database I had. Everyone is free to peruse it, it is little information that I have. This technology is long gone and decayed to the sands of time.

@create DSS Database

Virtual Inventory +Look Code

A nice little expansion to add +look to your arsenal of commands in the Virtual Inventory System. As the title says, this is the +look code to look at an item, and get its description. It applies to items in the room, as well as the user's inventory.

+look *: Is the proper syntax.

You can add descriptions for item types by adding &DESC_# Item Database=Description.

For example, if
&1_GENERAL Item Database=Food
is your item.. Then..
&1_DESC Item Database=An edible item made of delicious.
would be your description.

Replaced #27 with the dbref of your Item System.

Virtual Item Comsystem

#27 Should be the dbref of your Item System. This object needs to be in the Master Room.
You will need to create a new entry in your Item Database, as well.

&#_GENERAL Item Database=COMSYS

# can be replaced with any free database entries you have. (That is, if you're using the default database, you can just make it 2. Since the default database only has 1 entry (Food))

Any comsystems will need to be labeled with this new item. If you did go with 2, a comsys virtual item might be..

&list`inventory me=Nuka_Cola 1 100|Reaver's_Comsys 2 1

Virtual Item System

Righto, this is my amazing "Virtual Inventory System". I'll briefly explain how it works. Basically an inventory is saved on a player via list`inventory in the format ITEM_NAME TYPE AMOUNT|ITEM_NAME TYPE AMOUNT

A type is a number, as seen in the bottom most item database variable (1_General)

1 is the number type of the object, and GENERAL is the general item type.

This allows one to &list`inventory me=Nuka_Cola 1 100
to create 100 Nuka Cola's as type Food.

This is great for atmosphere, and reducing MUSH clutter. As

&list`inventory me=Cake 1 100

sad hack's picture

warpedcore public beta announcement

  • M*U*S*H (telnet://mush.pennmush.org:4201)
  • Sunday, November 1, 2009
  • 3pm (US Central, aka M*U*S*H server time) until whenever.

This will be a line-by-line walk-through of the warpedcore function (what unfu~ has been converted to).

sad hack's picture

unfu~help

@@
@@ ========================================================================
@@ ------------------------------------------------------------------------
@@ ________________________________________________________________________
@@ .:....1....:....2....:....3....:....4....:....5....:....6....:....7....:
@@ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
@@ ------------------------------------------------------------------------

sad hack's picture

unfu~display

@@
@@ ========================================================================
@@ Display borders for unfu~
@@ ========================================================================
@@ ------------------------------------------------------------------------
@@ ________________________________________________________________________
@@ .:....1....:....2....:....3....:....4....:....5....:....6....:....7....:
@@ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
@@

sad hack's picture

unfu~

@@
@@ ========================================================================
@@ unfu~
@@
@@ A content management system for Pennmush, utilizing:
@@
@@ * the many_attribs @power to allow an entire content package, no matter
@@ how large, to fit on a single object,
@@ * attribute tree features to facilitate organizational management of
@@ that content, and
@@ * side-effect parenting to allow internal, on-the-fly, temporary
@@ reparenting to any of an unlimited number of potential parents
@@
@@ for in-game retrieval of appropriately packaged game content.
@@ ========================================================================
@@ FINAL ALPHA RELEASE a.2009.07.14.a
@@ ========================================================================
@@

Can I perform a 'reverse' ansi() ?

When I start with an attribute containing text and embedded ansi codes, for example an attribute created by -> @force me=&foo me=This is [ansi(hy,yellow)] text <- is it possible to extract the embedded ansi codes as well as the text?

Syndicate content