diff --git a/_datafiles/world/empty/templates/admincommands/help/command.buff.template b/_datafiles/world/empty/templates/admincommands/help/command.buff.template deleted file mode 100644 index 98aca8ca..00000000 --- a/_datafiles/world/empty/templates/admincommands/help/command.buff.template +++ /dev/null @@ -1,13 +0,0 @@ -The buff command can be used in the following ways: - -buff [buffId] - e.g. buff 1 -Apply a buff to yourself by id - -buff [username] [buffId] - e.g. buff sammy 1 -Applie a buff to a player in the room by its id - -buff search [searchstring] - e.g. buff search Liar or buff search "Liar's Tongue" -Searches for any buffs that match and returns a list along with their ids - -buff list -Displays a list of all buffs diff --git a/_datafiles/world/empty/templates/admincommands/help/command.build.template b/_datafiles/world/empty/templates/admincommands/help/command.build.template deleted file mode 100644 index 3af1be70..00000000 --- a/_datafiles/world/empty/templates/admincommands/help/command.build.template +++ /dev/null @@ -1,30 +0,0 @@ -The build command can be used in the following ways: - -build zone [zone_name] - e.g. build zone "Smash land" -Create a new zone with the supplied name. An empty room will be created inside -of it. - -build room [exit1] [exit2(optional)] - e.g. build room north -Create a new empty room, and connect this room to it using the exit name -supplied. If a second exit name is supplied, the room will be linked back -using that exit name. - -Possible Exit Name Formats ("east" and "cave" used as examples): - - cave - An exit to somewhere that doesn't show up on the map. - - east - Just an exist called east, that exits to the east - direction. - east-x2 / east-x3 - Same as "east", just 2 or 3 spaces away. - east-gap - Connects to the east, but does not show a - connection on the map. - east-gap2 / east-gap3 - Same as "east-gap" just 2 or 3 spaces away. - - cave:east - The exit will be called "cave", but the direction on - the map will be to the east. - cave:east-x2 - The pattern continues from above, just with a - freeform exit name. - - So build room cave:east-x2 out would add a "cave" exit 2 spaces to the east, - and create a returning exit called "out" - diff --git a/_datafiles/world/empty/templates/admincommands/help/command.command.template b/_datafiles/world/empty/templates/admincommands/help/command.command.template deleted file mode 100644 index 0e1086d4..00000000 --- a/_datafiles/world/empty/templates/admincommands/help/command.command.template +++ /dev/null @@ -1,16 +0,0 @@ -The command command can be used in the following ways: - -command [user/mob] [action] - e.g. command Bob say hi -This would force Bob to say hi. - -Note: You can command a mob/player to do anything they could normally do. -Mobs do not have the full range of commands available to them that -players do. - -Player Commands: - Type help to get a full list of player commands. - -{{ if gt (len .) 0 -}} -Mob Commands: -{{ $counter := 0 -}}{{ range $i, $cmd := . }} {{ padRight 14 $cmd }} {{ if eq (mod $counter 4) 3 }}{{ printf "\n" }}{{ end }}{{ $counter = (add $counter 1) }}{{ end }} -{{ end }} diff --git a/_datafiles/world/empty/templates/admincommands/help/command.deafen.template b/_datafiles/world/empty/templates/admincommands/help/command.deafen.template deleted file mode 100644 index e83749ba..00000000 --- a/_datafiles/world/empty/templates/admincommands/help/command.deafen.template +++ /dev/null @@ -1,11 +0,0 @@ -The deafen/undeafen is for child safety. - -When a player is deafened, they cannot receive custom communications via: -say, broadcast, whisper, emote - -The only exception is that they can still receive whispers from admins or moderators. - -deafen [username] - Deafen a player -undeafen [username] - Un-Deafen a player - -Note: This will apply to the user account, not just the character. diff --git a/_datafiles/world/empty/templates/admincommands/help/command.grant.template b/_datafiles/world/empty/templates/admincommands/help/command.grant.template deleted file mode 100644 index 39ed150c..00000000 --- a/_datafiles/world/empty/templates/admincommands/help/command.grant.template +++ /dev/null @@ -1,7 +0,0 @@ -The grant command can be used in the following ways: - -grant [amount] experience - e.g. grant 1000 experience -Grant experience points to yourself - -grant [target] [amount] experience - e.g. grant james 1000 experience -Grant experience points to a user diff --git a/_datafiles/world/empty/templates/admincommands/help/command.item.template b/_datafiles/world/empty/templates/admincommands/help/command.item.template deleted file mode 100644 index 5b6d2751..00000000 --- a/_datafiles/world/empty/templates/admincommands/help/command.item.template +++ /dev/null @@ -1,20 +0,0 @@ -The item command can be used in the following ways: - -item create -Asks a series of questions and then creates a new item type and writes the file -to the appropriate folder. - -item create [ItemName/ItemId] -Same as above, but starts with a copy of the item named. - -item spawn [ItemName/ItemId] - item spawn [ItemId] - e.g. item spawn 1 - item spawn [ItemName] - e.g. item spawn dagger - -item list -List all item names. - -item list [name-to-search] -List items that match a provided search term. You can use a wildcard on either -or both sides of the search term, such as item list *leather*. - diff --git a/_datafiles/world/empty/templates/admincommands/help/command.locate.template b/_datafiles/world/empty/templates/admincommands/help/command.locate.template deleted file mode 100644 index a93a1b3f..00000000 --- a/_datafiles/world/empty/templates/admincommands/help/command.locate.template +++ /dev/null @@ -1,16 +0,0 @@ -The locate command finds the room another player or mob is in: - -locate [charactername] - Finds the player that matches [charactername] - -locate [mobname] - List all mobs that match [mobname] exactly. -locate * - List all mobs -locate *[mobname] - List all mobs who's names end in [mobname] -locate [mobname]* - List all mobs who's names start with [mobname] -locate *[mobname]* - List all mobs who's names contain [mobname] - -NOTE - Mobs that have not been loaded into memory will -not be listed. - -Mobs are only loaded into memory if they don't exist and a player visits/looks -into their spawn room. - diff --git a/_datafiles/world/empty/templates/admincommands/help/command.mob.template b/_datafiles/world/empty/templates/admincommands/help/command.mob.template deleted file mode 100644 index 6e4fcd56..00000000 --- a/_datafiles/world/empty/templates/admincommands/help/command.mob.template +++ /dev/null @@ -1,23 +0,0 @@ -The mob command can be used in the following ways: - -mob create -Asks a series of questions and then creates a new mob type and writes the file -to the appropriate folder. - -mob create [name/MobId] -Same as above, but starts with a copy of the mob named. - -mob spawn loot goblin -A special case mob spawn command that puts the loot goblin into play. - -mob spawn [name/MobId] - mob spawn [MobId] - e.g. mob spawn 1 - mob spawn [MobName] - e.g. mob spawn goblin - -mob list -List all mob names. - -mob list [name-to-search] -List mobs that match a provided search term. You can use a wildcard on either -or both sides of the search term, such as mob list *frost*. - diff --git a/_datafiles/world/empty/templates/admincommands/help/command.modify.template b/_datafiles/world/empty/templates/admincommands/help/command.modify.template deleted file mode 100644 index 62a7b022..00000000 --- a/_datafiles/world/empty/templates/admincommands/help/command.modify.template +++ /dev/null @@ -1,4 +0,0 @@ -The modify command modifies player records: - -modify role [username] [newrole] - Changes a users role. -Note: Cannot downgrade an admin to a lower role. diff --git a/_datafiles/world/empty/templates/admincommands/help/command.mute.template b/_datafiles/world/empty/templates/admincommands/help/command.mute.template deleted file mode 100644 index 39841c2f..00000000 --- a/_datafiles/world/empty/templates/admincommands/help/command.mute.template +++ /dev/null @@ -1,11 +0,0 @@ -The mute/unmute is for child safety or punishment of noisy players. - -When a player is muted, they cannot send cusotm communcations via: -say, broadcast, whisper, emote - -The only exception is that they can still whisper to admins or moderators. - -mute [username] - Mute a player -unmute [username] - Un-Mute a player - -Note: This will apply to the user account, not just the character. diff --git a/_datafiles/world/empty/templates/admincommands/help/command.paz.template b/_datafiles/world/empty/templates/admincommands/help/command.paz.template deleted file mode 100644 index 26ca625d..00000000 --- a/_datafiles/world/empty/templates/admincommands/help/command.paz.template +++ /dev/null @@ -1,4 +0,0 @@ -The paz command can be used in the following ways: - -paz - Brings yourself to maximum hp/mp. -pax [target] - Brings the target to maximum hp/mp. diff --git a/_datafiles/world/empty/templates/admincommands/help/command.prepare.template b/_datafiles/world/empty/templates/admincommands/help/command.prepare.template deleted file mode 100644 index f22a69bb..00000000 --- a/_datafiles/world/empty/templates/admincommands/help/command.prepare.template +++ /dev/null @@ -1,11 +0,0 @@ -The prepare command can be used in the following ways: - -prepare all - Load every room into memory and spawn their mobs. - -This is a general testing tool for: - 1. Load testing - 2. Putting NPC into motion without having to visit all of the rooms. - -WARNING! - This may be cpu/memory intensive. -Consider using server stats before and after to compare the impact. - diff --git a/_datafiles/world/empty/templates/admincommands/help/command.questtoken.template b/_datafiles/world/empty/templates/admincommands/help/command.questtoken.template deleted file mode 100644 index 0fe319d7..00000000 --- a/_datafiles/world/empty/templates/admincommands/help/command.questtoken.template +++ /dev/null @@ -1,11 +0,0 @@ -The questtoken command can be used in the following ways: - -questtoken [token_name] - e.g. questtoken "HAM" -Give youself a quest token - -questtoken list -List all quest tokens that you have - -questtoken all -List all quest tokens - diff --git a/_datafiles/world/empty/templates/admincommands/help/command.redescribe.template b/_datafiles/world/empty/templates/admincommands/help/command.redescribe.template deleted file mode 100644 index 475079d8..00000000 --- a/_datafiles/world/empty/templates/admincommands/help/command.redescribe.template +++ /dev/null @@ -1,5 +0,0 @@ -The rename command can be used in the following ways: - -redescribe [itemName] "[New description]" - Give the item a new description - diff --git a/_datafiles/world/empty/templates/admincommands/help/command.reload.template b/_datafiles/world/empty/templates/admincommands/help/command.reload.template deleted file mode 100644 index 5a1659b8..00000000 --- a/_datafiles/world/empty/templates/admincommands/help/command.reload.template +++ /dev/null @@ -1,4 +0,0 @@ -The reload command can be used in the following ways: - -reload items - Reloads items data files, including any new ones. -reload translations - Reloads all translation localize files. diff --git a/_datafiles/world/empty/templates/admincommands/help/command.rename.template b/_datafiles/world/empty/templates/admincommands/help/command.rename.template deleted file mode 100644 index c88bc356..00000000 --- a/_datafiles/world/empty/templates/admincommands/help/command.rename.template +++ /dev/null @@ -1,5 +0,0 @@ -The rename command can be used in the following ways: - -rename [itemName] "[New Item Name]" "[optional display name or color class]" - Rename an item with a new custom name. - diff --git a/_datafiles/world/empty/templates/admincommands/help/command.room.template b/_datafiles/world/empty/templates/admincommands/help/command.room.template deleted file mode 100644 index 75a4a21b..00000000 --- a/_datafiles/world/empty/templates/admincommands/help/command.room.template +++ /dev/null @@ -1,52 +0,0 @@ -The room command can be used in the following ways: - -room info [room_id] - e.g. room info 1 -Get information on a room. If ommitted, defaults to current room. - -room copy [property] [room_id] -Copies the property from another room: - - Properties: - spawninfo (string) - e.g. room copy spawninfo 1 - -room set [property] [value] -Set a property of the room. This updates basic properties of the room you are in. - - Properties: - title (string) - e.g. room set title "A rainbow road" - description (string) - e.g. room set description "The way is short and easy" - idlemessages (string)- e.g. room set idlemessages "The wind blow;the sand falls" - legend (string) - e.g. room set legend "Pie-shop" - symbol (string) - e.g. room set symbol "#" - zone (string) - e.g. room set zone "trash" - spawninfo clear CAREFUL! CLEARS SPAWN INFO! - mutators list mutators for room - mutator [mutator-id] Toggles mutator on or off - - Nouns: - Room nouns are extra descriptive tags that can be "looked" at by players. - room nouns - List all nouns for the room - room noun [name] [description] - Add or overwrite a noun - - Containers: - You can interactively add/remove/edit containers using the command: - room edit containers - Exits: - You can interactively add/remove/edit exits using the command: - room edit exits - Mutators: - You can interactively add/remove mutators to the room using the command: - room edit mutators - -room exit [exit_name] [room_id] - e.g. room exit west 159 -This will create a new exit that links to a specific room_id using the exit_name provided. -!Beware! if the spacial relationship with compass direction rooms is done incorrectly, -movement could confuse players and maps may generate strangely. -It is recommended that this only be used to link rooms with non-compass directions, such as "inside" or "cave" - -room exit [exit_name] [new_exit_name] - e.g. room exit up climb -This will rename an exit name to something new. This only works if the new exit name is non-numeric. - -room secretexit [exit_name] - e.g. room secretexit south -Toggles the secrecy of an exit on or off. - diff --git a/_datafiles/world/empty/templates/admincommands/help/command.server.md b/_datafiles/world/empty/templates/admincommands/help/command.server.md deleted file mode 100644 index 9c85bfba..00000000 --- a/_datafiles/world/empty/templates/admincommands/help/command.server.md +++ /dev/null @@ -1,20 +0,0 @@ -# Help for ~server~ (admin command) - -The ~server~ command can be used in the following ways: - -## Usage: - - ~server reload-ansi~ - Reloads aliases from the ansi alias file - - ~server stats~ - Get stats on the server - - ~server set~ - Lists all server configuration settings - - ~server set [name] [value]~ - Sets a configuration settings (and saves it) - - ~server config~ - Initiates an interactive configuration editor diff --git a/_datafiles/world/empty/templates/admincommands/help/command.skillset.template b/_datafiles/world/empty/templates/admincommands/help/command.skillset.template deleted file mode 100644 index 9a26a4b4..00000000 --- a/_datafiles/world/empty/templates/admincommands/help/command.skillset.template +++ /dev/null @@ -1,9 +0,0 @@ -The skillset can be used in the following ways: - -skillset [skillName] [skillLevel] Sets the skillName provided to the level number provided. -skillset all [skillLevel] Sets all skills to the level number provided. - -You can also target a character in the room by adding their name. -Example: skillset joebob all [skillLevel] - -The skillName must be an actual skill, and the skillLevel must be between 0 and 4. diff --git a/_datafiles/world/empty/templates/admincommands/help/command.spawn.template b/_datafiles/world/empty/templates/admincommands/help/command.spawn.template deleted file mode 100644 index fd8d5667..00000000 --- a/_datafiles/world/empty/templates/admincommands/help/command.spawn.template +++ /dev/null @@ -1,5 +0,0 @@ -The spawn command can be used in the following ways: - -Gold - Spawns a pile of gold in the room. - spawn gold [amount] - e.g. spawn gold 100 - diff --git a/_datafiles/world/empty/templates/admincommands/help/command.syslogs.template b/_datafiles/world/empty/templates/admincommands/help/command.syslogs.template deleted file mode 100644 index 4bd4d6de..00000000 --- a/_datafiles/world/empty/templates/admincommands/help/command.syslogs.template +++ /dev/null @@ -1,18 +0,0 @@ -The syslogs command can be used to watch the server logs live. - -syslogs on - Begin following all of the logs - -There are 4 levels of log importance you can enable. -Each level includes all logs of higher importance levels. - -DEBUG - Debugging logs. May not be enabled on this server. -INFO - General info that may or may not be useful. -WARN - Non urgent/critical warnings. -ERROR - Very serious problems that should be tracked. - -Example: - syslogs info - Receive all INFO, WARN, and ERROR logs. - syslogs error - Receive only ERROR logs. - -syslogs off - Stop following the logs - diff --git a/_datafiles/world/empty/templates/admincommands/help/command.teleport.template b/_datafiles/world/empty/templates/admincommands/help/command.teleport.template deleted file mode 100644 index 41a8fc9a..00000000 --- a/_datafiles/world/empty/templates/admincommands/help/command.teleport.template +++ /dev/null @@ -1,14 +0,0 @@ -The teleport command can be used in the following ways: - -teleport [room_id] - e.g. teleport 1 -Move to a specific room id - -teleport [direction] - e.g. teleport east -Move through walls, across gaps, etc. to the first room found to the direction specified (if any). - -teleport [name] - e.g. teleport davey -Move to the room of a player matching the specified name. - -You can optionally target an online user instead of yourself by putting their name first. - -Example: teleport [name] east diff --git a/_datafiles/world/empty/templates/admincommands/help/command.zap.template b/_datafiles/world/empty/templates/admincommands/help/command.zap.template deleted file mode 100644 index 6eb579df..00000000 --- a/_datafiles/world/empty/templates/admincommands/help/command.zap.template +++ /dev/null @@ -1,4 +0,0 @@ -The zap command can be used in the following ways: - -zap - Brings your currently aggrod mob to 1hp/1mp. -zap [target] - Brings the target to 1hp/1mp. diff --git a/_datafiles/world/empty/templates/admincommands/help/command.zone.template b/_datafiles/world/empty/templates/admincommands/help/command.zone.template deleted file mode 100644 index f5584c0c..00000000 --- a/_datafiles/world/empty/templates/admincommands/help/command.zone.template +++ /dev/null @@ -1,9 +0,0 @@ -The zone command can be used in the following ways: - -room info -Get the zone config info -zone set autoscale [lowend] [highend] - e.g. zone set autoscale 5 10 -Set the mob auto-scaling to a min/max range. Set to zeroes or empty to clear. - -You can interactively modify zone properties to the room using the command: -zone edit \ No newline at end of file diff --git a/_datafiles/world/empty/templates/admincommands/ingame/roominfo.template b/_datafiles/world/empty/templates/admincommands/ingame/roominfo.template deleted file mode 100644 index ee99a2d7..00000000 --- a/_datafiles/world/empty/templates/admincommands/ingame/roominfo.template +++ /dev/null @@ -1,23 +0,0 @@ -{{ $room := .room }}{{ $zone := .zone }} -RoomId: {{ $room.RoomId }}{{ if eq $zone.RoomId $room.RoomId }} (This is the zone root){{ else }} (Zone root is {{ $zone.RoomId }}){{ end }} -Filepath: {{ $room.Filepath }} -Zone: {{ $room.Zone }} -MapSymbol: {{ $room.GetMapSymbol }} -MapLegend: {{ $room.MapLegend }} -Title: {{ $room.Title }} -Description: {{ splitstring $room.GetDescription 64 " " }} -Exits: {{ if eq (len $room.Exits) 0 }}None{{ else }} -{{- range $command, $exitInfo := $room.Exits }}[{{ $command }}{{ $exitInfo.RoomId }}] {{ end -}}{{ end }} -Temp Exits: {{ if eq (len $room.ExitsTemp) 0 }}None{{ else }} -{{- range $command, $exitInfo := $room.ExitsTemp }}[{{ $command }}{{ $exitInfo.RoomId }}] {{ end -}}{{ end }} -Training: {{ if eq (len $room.SkillTraining) 0 }}None{{ else }}{{- range $index, $skill := $room.SkillTraining }}[{{ $skill }}] {{ end -}}{{ end }} -Script: {{ if gt (len $room.GetScript) 0 }}Yes - {{ $room.GetScriptPath }}{{ else }}No{{ end }} -Room Mutators: {{ range $i, $a := $room.Mutators }}{{ $a.MutatorId }} {{ if $a.Live }}(active){{else}}(inactive){{ end }} - {{ end }} -Zone Mutators: {{ range $i, $a := $zone.Mutators }}{{ $a.MutatorId }} {{ if $a.Live }}(active){{else}}(inactive){{ end }} - {{ end }} -{{ if gt (len $room.IdleMessages) 0 -}} -IdleMessages: {{ range $i, $a := $room.IdleMessages }}{{ $a }} - {{ end -}}{{- end }} -Players here: {{ range $i, $a := $room.GetPlayers -}}{{- $char := uidToCharacter $a -}}@{{ $a }}-{{ $char.Name }}, {{- end }} -Mobs here: {{ range $i, $a := $room.GetMobs -}}{{- $mobName := idToMobCharacter $a -}}#{{ $a }}-{{ $mobName }}, {{- end }} diff --git a/_datafiles/world/empty/templates/admincommands/shutdown-countdown.template b/_datafiles/world/empty/templates/admincommands/shutdown-countdown.template deleted file mode 100644 index ae0775ce..00000000 --- a/_datafiles/world/empty/templates/admincommands/shutdown-countdown.template +++ /dev/null @@ -1 +0,0 @@ -The server is shutting down in %d seconds... diff --git a/_datafiles/world/empty/templates/admincommands/shutdown-final.template b/_datafiles/world/empty/templates/admincommands/shutdown-final.template deleted file mode 100644 index 4926c5a9..00000000 --- a/_datafiles/world/empty/templates/admincommands/shutdown-final.template +++ /dev/null @@ -1 +0,0 @@ -The server is shutting down. diff --git a/_datafiles/world/empty/templates/character/conditions.template b/_datafiles/world/empty/templates/character/conditions.template deleted file mode 100644 index 06b5a5b9..00000000 --- a/_datafiles/world/empty/templates/character/conditions.template +++ /dev/null @@ -1,6 +0,0 @@ - ┌─ .:Conditions ─────────────────────────────────────────────────────────────┐ -{{ if eq (len .) 0 }} None -{{ else }}{{ range $key, $val := . }} {{ padRight 16 $val.Name }} {{ splitstring $val.Description 58 " " }}{{ if not .PermaBuff }}{{ $tLeft := roundstotime $val.RoundsLeft }} - {{ padLeft 16 "" }} {{ $tLeft }} left{{ end }} -{{ end -}} -{{- end }} └────────────────────────────────────────────────────────────────────────────┘ diff --git a/_datafiles/world/empty/templates/character/cooldowns.template b/_datafiles/world/empty/templates/character/cooldowns.template deleted file mode 100644 index 20f85f49..00000000 --- a/_datafiles/world/empty/templates/character/cooldowns.template +++ /dev/null @@ -1,5 +0,0 @@ - ┌─ .:Cooldowns ──────────────────────────────────────────────────────────────┐ - {{ range $name, $cooldown := . }} {{ padRight 24 $name }} {{ $cooldown }} rounds - {{ roundstotime $cooldown }} - {{ end -}} - └────────────────────────────────────────────────────────────────────────────┘ - diff --git a/_datafiles/world/empty/templates/character/description-corpse.template b/_datafiles/world/empty/templates/character/description-corpse.template deleted file mode 100644 index ecf56a63..00000000 --- a/_datafiles/world/empty/templates/character/description-corpse.template +++ /dev/null @@ -1,8 +0,0 @@ - -.: {{ .Name }} corpse - ┌─ .:Description ────────────────────────────────────────────────────────────┐ - ☠ ☠ ☠ ☠ ☠ ☠ ☠ ☠ ☠ ☠ ☠ ☠ ☠ ☠ ☠ ☠ ☠ ☠ ☠ ☠ ☠ ☠ ☠ ☠ ☠ ☠ ☠ ☠ ☠ ☠ ☠ ☠ ☠ ☠ ☠ ☠ ☠ - {{ splitstring .GetDescription 72 " "}} - ☠ ☠ ☠ ☠ ☠ ☠ ☠ ☠ ☠ ☠ ☠ ☠ ☠ ☠ ☠ ☠ ☠ ☠ ☠ ☠ ☠ ☠ ☠ ☠ ☠ ☠ ☠ ☠ ☠ ☠ ☠ ☠ ☠ ☠ ☠ ☠ ☠ - This is a corpse. They are dead. - └────────────────────────────────────────────────────────────────────────────┘ diff --git a/_datafiles/world/empty/templates/character/description.template b/_datafiles/world/empty/templates/character/description.template deleted file mode 100644 index 7cc17d5a..00000000 --- a/_datafiles/world/empty/templates/character/description.template +++ /dev/null @@ -1,9 +0,0 @@ - -.: {{ .Name }} ({{ .AlignmentName }}) -{{- $tnl := .XPTNL -}} -{{- $pct := (pct .Experience $tnl ) -}} -{{- $exp := printf "%d/%d (%d%%)" .Experience $tnl $pct }} - ┌─ .:Description ────────────────────────────────────────────────────────────┐ - {{ splitstring .GetDescription 72 " "}} - {{ .GetHealthAppearance }} - └────────────────────────────────────────────────────────────────────────────┘ diff --git a/_datafiles/world/empty/templates/character/experience.template b/_datafiles/world/empty/templates/character/experience.template deleted file mode 100644 index fc27975e..00000000 --- a/_datafiles/world/empty/templates/character/experience.template +++ /dev/null @@ -1,3 +0,0 @@ -[ Lvl: {{.Level}} ] [ XP: {{.Exp}}/{{.Tnl}} ({{pct .Exp .Tnl}}%) ] [ Training Pts: {{.Tp}} ] [ Stat Pts: {{.Sp}} ] -{{ if gt .Sp 0 }}{{ if lt .Level 5 }}TIP: Type help status to learn about using stat points. -{{ end }}{{ end -}} \ No newline at end of file diff --git a/_datafiles/world/empty/templates/character/inventory-look.template b/_datafiles/world/empty/templates/character/inventory-look.template deleted file mode 100644 index b6072b0e..00000000 --- a/_datafiles/world/empty/templates/character/inventory-look.template +++ /dev/null @@ -1,22 +0,0 @@ - ┌─ .:Equipment ──────────────────────────────────────────────────────────────┐ -{{ if not .Equipment.Weapon.IsDisabled }} Weapon: {{ .Equipment.Weapon.NameSimple }} -{{ end -}} -{{- if not .Equipment.Offhand.IsDisabled }} Offhand: {{ .Equipment.Offhand.NameSimple }} -{{ end -}} -{{- if not .Equipment.Head.IsDisabled }} Head: {{ .Equipment.Head.NameSimple }} -{{ end -}} -{{- if not .Equipment.Neck.IsDisabled }} Neck: {{ .Equipment.Neck.NameSimple }} -{{ end -}} -{{- if not .Equipment.Body.IsDisabled }} Body: {{ .Equipment.Body.NameSimple }} -{{ end -}} -{{- if not .Equipment.Belt.IsDisabled }} Belt: {{ .Equipment.Belt.NameSimple }} -{{ end -}} -{{- if not .Equipment.Gloves.IsDisabled }} Gloves: {{ .Equipment.Gloves.NameSimple }} -{{ end -}} -{{- if not .Equipment.Ring.IsDisabled }} Ring: {{ .Equipment.Ring.NameSimple }} -{{ end -}} -{{- if not .Equipment.Legs.IsDisabled }} Legs: {{ .Equipment.Legs.NameSimple }} -{{ end -}} -{{- if not .Equipment.Feet.IsDisabled }} Feet: {{ .Equipment.Feet.NameSimple }} -{{ end }} └────────────────────────────────────────────────────────────────────────────┘ - Carrying: {{ $itmCt := len .ItemNames }}{{ if eq $itmCt 0 }}no{{ else if lt $itmCt 4 }}a few{{ else if lt $itmCt 7 }}several{{ else }}lots of{{ end }} objects diff --git a/_datafiles/world/empty/templates/character/inventory.template b/_datafiles/world/empty/templates/character/inventory.template deleted file mode 100644 index 259510f4..00000000 --- a/_datafiles/world/empty/templates/character/inventory.template +++ /dev/null @@ -1,28 +0,0 @@ -{{ if not .Searching }} ┌─ .:Equipment ──────────────────────────────────────────────────────────────┐ -{{ if not .Equipment.Weapon.IsDisabled }} Weapon: {{ .Equipment.Weapon.NameComplex }} -{{ end -}} -{{- if not .Equipment.Offhand.IsDisabled }} Offhand: {{ .Equipment.Offhand.NameComplex }} -{{ end -}} -{{- if not .Equipment.Head.IsDisabled }} Head: {{ .Equipment.Head.NameComplex }} -{{ end -}} -{{- if not .Equipment.Neck.IsDisabled }} Neck: {{ .Equipment.Neck.NameComplex }} -{{ end -}} -{{- if not .Equipment.Body.IsDisabled }} Body: {{ .Equipment.Body.NameComplex }} -{{ end -}} -{{- if not .Equipment.Belt.IsDisabled }} Belt: {{ .Equipment.Belt.NameComplex }} -{{ end -}} -{{- if not .Equipment.Gloves.IsDisabled }} Gloves: {{ .Equipment.Gloves.NameComplex }} -{{ end -}} -{{- if not .Equipment.Ring.IsDisabled }} Ring: {{ .Equipment.Ring.NameComplex }} -{{ end -}} -{{- if not .Equipment.Legs.IsDisabled }} Legs: {{ .Equipment.Legs.NameComplex }} -{{ end -}} -{{- if not .Equipment.Feet.IsDisabled }} Feet: {{ .Equipment.Feet.NameComplex }} -{{ end }} └────────────────────────────────────────────────────────────────────────────┘ - {{ $itemCt := len .ItemNames -}}{{ $formattedNames := .ItemNamesFormatted -}}{{- $strlen := 0 -}}{{- $lineCt := 1 -}}{{- $itemCount := .Count -}} - Carrying: {{ range $index, $name := .ItemNames -}}{{ $proposedLength := (add 2 (add $strlen (len $name))) }}{{- if gt $proposedLength 68 -}}{{- $strlen = 0 -}}{{- $lineCt = (add 1 $lineCt) -}}{{ if eq $lineCt 2 }}{{- printf "\n %s " (padLeft 8 $itemCount) -}}{{ else }}{{- printf "\n " -}}{{ end }}{{- end -}}{{ index $formattedNames $index }}{{- if ne $index (sub $itemCt 1) }}, {{ $strlen = (add 2 (add $strlen (len $name))) }}{{ end }}{{ end }} -{{ else }} -{{ $itemCt := len .ItemNames -}}{{ $formattedNames := .ItemNamesFormatted -}} - Found in your bag: {{ range $index, $name := .ItemNames -}}{{ index $formattedNames $index }} - {{ end -}} -{{ end }} diff --git a/_datafiles/world/empty/templates/character/jobs.template b/_datafiles/world/empty/templates/character/jobs.template deleted file mode 100644 index e779a495..00000000 --- a/_datafiles/world/empty/templates/character/jobs.template +++ /dev/null @@ -1,5 +0,0 @@ - ┌─ .:Jobs ─────────────────────────────────────────────────────────────────┐ - {{ range $idx, $jobInfo := . }} {{ padRight 15 $jobInfo.Name }} {{ padRight 11 $jobInfo.Experience }} {{ $jobInfo.BarFull }}{{ $jobInfo.BarEmpty }} {{ padRight 4 $jobInfo.Completion }} - {{ end -}} - └──────────────────────────────────────────────────────────────────────────┘ - diff --git a/_datafiles/world/empty/templates/character/levelup.template b/_datafiles/world/empty/templates/character/levelup.template deleted file mode 100644 index 63e74125..00000000 --- a/_datafiles/world/empty/templates/character/levelup.template +++ /dev/null @@ -1,19 +0,0 @@ - -******************************************************************************* -******************************************************************************* - - You have gained {{ if gt .levelsGained 1 }}{{ .levelsGained }} levels{{ else }}a level{{ end }}! You are now level {{ .level }}! - - Stat Gains: - - Strength: {{ .statsDelta.Strength.Value }} Speed: {{ .statsDelta.Speed.Value }} Smarts: {{ .statsDelta.Smarts.Value }} - Vitality: {{ .statsDelta.Vitality.Value }} Mysticism: {{ .statsDelta.Mysticism.Value }} Perception: {{ .statsDelta.Perception.Value }} - - Training Points: +{{ .trainingPoints }} - Bonus Stat Points: +{{ .statPoints }}{{ if .livesUp }} - Extra Lives: +{{ .livesUp }}{{ end }} - - Type stat train to spend your extra Stat Points and improve your character. - -******************************************************************************* -******************************************************************************* diff --git a/_datafiles/world/empty/templates/character/permadeath.template b/_datafiles/world/empty/templates/character/permadeath.template deleted file mode 100644 index 3f06298b..00000000 --- a/_datafiles/world/empty/templates/character/permadeath.template +++ /dev/null @@ -1,16 +0,0 @@ - ______ - .-" "-. - / \ - _ | | _ - ( \ |, .-. .-. ,| / ) - > "=._ | )(__/ \__)( | _.=" < - (_/"=._"=._ |/ /\ \| _.="_.="\_) - "=._ (_ ^^ _)"_.=" - "=\__|IIIIII|__/=" - _.="| \IIIIII/ |"=._ - _ _.="_.="\ /"=._"=._ _ - ( \_.="_.=" `--------` "=._"=._/ ) - > _.=" "=._ < - (_/ \_) - - YOU HAVE PERMANENTLY DIED! diff --git a/_datafiles/world/empty/templates/character/pet.template b/_datafiles/world/empty/templates/character/pet.template deleted file mode 100644 index a45f5c7e..00000000 --- a/_datafiles/world/empty/templates/character/pet.template +++ /dev/null @@ -1,8 +0,0 @@ - -.: {{ .Character.Pet.DisplayName }} - ┌─ .:Description ────────────────────────────────────────────────────────────┐ - {{ .Character.Pet.DisplayName }} is a pet {{ .Character.Pet.Type }} owned by {{ .Character.Name }}. - {{ .Character.Pet.DisplayName }} hunger is: {{ .Character.Pet.Food }} - └────────────────────────────────────────────────────────────────────────────┘ - {{ $itemCt := len .Character.Pet.Items -}}{{- $strlen := 0 -}}{{- $lineCt := 1 -}} - Carrying: {{ range $index, $itm := .Character.Pet.Items -}}{{ $proposedLength := (add 2 (add $strlen (len $itm.Name))) }}{{- if gt $proposedLength 68 -}}{{- $strlen = 0 -}}{{- $lineCt = (add 1 $lineCt) -}}{{ if eq $lineCt 2 }}{{- print "\n " -}}{{ else }}{{- printf "\n " -}}{{ end }}{{- end -}}{{ $itm.DisplayName }}{{- if ne $index (sub $itemCt 1) }}, {{ $strlen = (add 2 (add $strlen (len $itm.Name ))) }}{{ end }}{{ end }} \ No newline at end of file diff --git a/_datafiles/world/empty/templates/character/quests.template b/_datafiles/world/empty/templates/character/quests.template deleted file mode 100644 index 68feafe5..00000000 --- a/_datafiles/world/empty/templates/character/quests.template +++ /dev/null @@ -1,7 +0,0 @@ - ┌─ .:Quests {{ printf "( %d out of %d shown )" .QuestsFound .QuestsTotal }} {{ repeat "─" (sub 3 (intstrlen .QuestsFound .QuestsTotal)) }}─────────────────────────────────────────┐ - {{ $nlLen := sub (len .Records) 1 }}{{ range $idx, $qInfo := .Records }} {{ padRight 41 $qInfo.Name }} {{ $qInfo.BarFull }}{{ $qInfo.BarEmpty }} {{ padRight 4 $qInfo.Completion }} - {{ splitstring $qInfo.Description 72 " " }}{{ if lt $idx $nlLen }}{{ "\n" }}{{ end }} - {{ end -}} - └──────────────────────────────────────────────────────────────────────────┘ - {{ if ne .QuestsFound .QuestsTotal }}To see all quests (including completed), use quests all - {{ end }} diff --git a/_datafiles/world/empty/templates/character/questup.template b/_datafiles/world/empty/templates/character/questup.template deleted file mode 100644 index ceb81cf0..00000000 --- a/_datafiles/world/empty/templates/character/questup.template +++ /dev/null @@ -1,7 +0,0 @@ - -******************************************************************************* - - {{ . }} - type quests to track your progress on quests. - -******************************************************************************* diff --git a/_datafiles/world/empty/templates/character/skills.template b/_datafiles/world/empty/templates/character/skills.template deleted file mode 100644 index 1d4f8eb8..00000000 --- a/_datafiles/world/empty/templates/character/skills.template +++ /dev/null @@ -1,8 +0,0 @@ -{{ $cooldowns := .SkillCooldowns }} - ┌─ .:Skills ─────────────────────────────────────────────────────────────────┐ - {{ range $skillName, $skillLevel := .SkillList }} {{ padRight 12 $skillName }} {{ if eq $skillLevel 4 }}[MAXIMUM]{{ else }}{{ if eq $skillLevel 0 }}[Unknown]{{ else }}[Level {{ $skillLevel }}]{{ end }}{{ end }} {{ if eq (index $cooldowns $skillName) 0 }}{{ else }}Cooling down for {{ index $cooldowns $skillName }} more round(s){{ end }} - {{ end -}}{{ if eq (len .SkillList) 0 }} No Skills! Visit a guild or training center to train. - {{ end -}} - └────────────────────────────────────────────────────────────────────────────┘ - You have {{ .TrainingPoints }} Training Points. Level up to earn more. - diff --git a/_datafiles/world/empty/templates/character/skillup.template b/_datafiles/world/empty/templates/character/skillup.template deleted file mode 100644 index 9d382d02..00000000 --- a/_datafiles/world/empty/templates/character/skillup.template +++ /dev/null @@ -1,9 +0,0 @@ - -******************************************************************************* -******************************************************************************* - - You have gained a SKILL level and are now level {{ .SkillLevel }} in {{ .SkillName }}! - type help {{ .SkillName }} to learn more about using this skill. - -******************************************************************************* -******************************************************************************* diff --git a/_datafiles/world/empty/templates/character/status-lite.template b/_datafiles/world/empty/templates/character/status-lite.template deleted file mode 100644 index ce9dbfb6..00000000 --- a/_datafiles/world/empty/templates/character/status-lite.template +++ /dev/null @@ -1,12 +0,0 @@ - - .: {{ .Name }} the {{ profession . }} -{{- $tnl := .XPTNL -}} -{{- $pct := (pct .Experience $tnl ) -}} -{{- $exp := printf "%d/%d (%d%%)" .Experience $tnl $pct }} - ┌─ .:Info ──────────────────────┐ ┌─ .:Attributes ───────────────────────────┐ - │ Health: {{ printf "%-10d" .Health }} Max: {{ printf "%-6d" .HealthMax.Value }}│ │ Strength: {{ printf "%-4d(%-3d)" .Stats.Strength.Value (.StatMod "strength") }} Vitality: {{ printf "%-4d(%-3d)" .Stats.Vitality.Value (.StatMod "vitality") }} │ - Mana: {{ printf "%-10d" .Mana }} Max: {{ printf "%-6d" .ManaMax.Value }} Speed: {{ printf "%-4d(%-3d)" .Stats.Speed.Value (.StatMod "speed") }} Mysticism: {{ printf "%-4d(%-3d)" .Stats.Mysticism.Value (.StatMod "mysticism") }} - Armor: {{ printf "%-22s" ( printf "%d" (.GetDefense)) }} Smarts: {{ printf "%-4d(%-3d)" .Stats.Smarts.Value (.StatMod "smarts") }} Percept: {{ printf "%-4d(%-3d)" .Stats.Perception.Value (.StatMod "perception") }} - Level: {{ printf "%-22d" .Level }} - │ Gold: {{ printf "%-22s" (numberFormat .Gold) }}│ │ │ - └───────────────────────────────┘ └──────────────────────────────────────────┘ \ No newline at end of file diff --git a/_datafiles/world/empty/templates/character/status-train.template b/_datafiles/world/empty/templates/character/status-train.template deleted file mode 100644 index be18571d..00000000 --- a/_datafiles/world/empty/templates/character/status-train.template +++ /dev/null @@ -1,12 +0,0 @@ - -{{- $hpDisplay := printf "%d/%d" .Character.Health .Character.HealthMax.Value }} -{{- $mpDisplay := printf "%d/%d" .Character.Mana .Character.ManaMax.Value }} - ┌─ .:Base Value ────────────────────────┐ - │ Strength: {{ printf "%-4d" ( sub .Character.Stats.Strength.Value .Character.Stats.Strength.Mods ) }} gear & buffs: {{ printf "%-4d" .Character.Stats.Strength.Mods }} - Vitality: {{ printf "%-4d" ( sub .Character.Stats.Vitality.Value .Character.Stats.Vitality.Mods ) }} gear & buffs: {{ printf "%-4d" .Character.Stats.Vitality.Mods }} - Speed: {{ printf "%-4d" ( sub .Character.Stats.Speed.Value .Character.Stats.Speed.Mods ) }} gear & buffs: {{ printf "%-4d" .Character.Stats.Speed.Mods }} - Mysticism: {{ printf "%-4d" ( sub .Character.Stats.Mysticism.Value .Character.Stats.Mysticism.Mods ) }} gear & buffs: {{ printf "%-4d" .Character.Stats.Mysticism.Mods }} - Smarts: {{ printf "%-4d" ( sub .Character.Stats.Smarts.Value .Character.Stats.Smarts.Mods ) }} gear & buffs: {{ printf "%-4d" .Character.Stats.Smarts.Mods }} - │ Perception: {{ printf "%-4d" ( sub .Character.Stats.Perception.Value .Character.Stats.Perception.Mods ) }} gear & buffs: {{ printf "%-4d" .Character.Stats.Perception.Mods }} - └───────────────────────────────────────┘ - You have {{ .Character.StatPoints }} points left to spend. diff --git a/_datafiles/world/empty/templates/character/status.template b/_datafiles/world/empty/templates/character/status.template deleted file mode 100644 index dad209e8..00000000 --- a/_datafiles/world/empty/templates/character/status.template +++ /dev/null @@ -1,18 +0,0 @@ - - .: {{ .Character.Name }} the {{ .Character.AlignmentName }} {{ profession .Character }} -{{- $tnl := .Character.XPTNL -}} -{{- $pct := (pct .Character.Experience $tnl ) -}} -{{- $exp := printf "%d/%d (%d%%)" .Character.Experience $tnl $pct -}} -{{- $hpDisplay := printf "%s" ( healthStr .Character.Health .Character.HealthMax.Value 22 ) }} -{{- $mpDisplay := printf "%s" ( manaStr .Character.Mana .Character.ManaMax.Value 22 ) }} - ┌─ .:Info ──────────────────────┐ ┌─ .:Attributes ───────────────────────────┐ - │ Area: {{ printf "%-22s" .Character.Zone }}│ │ Strength: {{ printf "%-4d(%-3d)" .Character.Stats.Strength.Value (.Character.StatMod "strength") }} Vitality: {{ printf "%-4d(%-3d)" .Character.Stats.Vitality.Value (.Character.StatMod "vitality") }} │ - Race: {{ printf "%-22s" .Character.Race }} Speed: {{ printf "%-4d(%-3d)" .Character.Stats.Speed.Value (.Character.StatMod "speed") }} Mysticism: {{ printf "%-4d(%-3d)" .Character.Stats.Mysticism.Value (.Character.StatMod "mysticism") }} - Level: {{ printf "%-22d" .Character.Level }} │ Smarts: {{ printf "%-4d(%-3d)" .Character.Stats.Smarts.Value (.Character.StatMod "smarts") }} Percept: {{ printf "%-4d(%-3d)" .Character.Stats.Perception.Value (.Character.StatMod "perception") }} │ - Exp: {{ printf "%-22s" ( tnl .UserId ) }} └──────────────────────────────────────────┘ - Health: {{ printf "%s" $hpDisplay }} ┌─ .:Wealth ────────┐ ┌─ .:Training ───────┐ - Mana: {{ printf "%s" $mpDisplay }} │ Gold: {{ printf "%-11s" (numberFormat .Character.Gold) }} │ │ Train Pts: {{ printf "%-7d" .Character.TrainingPoints }} │ - │ Armor: {{ printf "%-6s" ( printf "%d" (.Character.GetDefense)) }} {{ if permadeath }}Lives: {{ printf "%-7d" .Character.ExtraLives }}{{ else }} {{ end }} │ │ Bank: {{ printf "%-11s" (numberFormat .Character.Bank) }} │ │ Stat Pts: {{ printf "%-7d" .Character.StatPoints }} │ - └───────────────────────────────┘ └───────────────────┘ └────────────────────┘ -{{- if gt .Character.StatPoints 0 }}{{ if lt .Character.Level 5 }} - TIP: Type status train to spend stat points on improvements. {{ end }}{{ end -}} \ No newline at end of file diff --git a/_datafiles/world/empty/templates/character/storage.template b/_datafiles/world/empty/templates/character/storage.template deleted file mode 100644 index 098485e8..00000000 --- a/_datafiles/world/empty/templates/character/storage.template +++ /dev/null @@ -1,7 +0,0 @@ - ┌─ .:In Storage ───────────────────────────────────────────────────────────┐ - {{ range $idx, $itemName := . }} {{ add $idx 1 }}. {{ $itemName }} - {{ end }}{{ if eq (len .) 0 }} Nothing - {{ end -}} - └──────────────────────────────────────────────────────────────────────────┘ - unstore [itemname] or unstore [#] to remove items from storage. - diff --git a/_datafiles/world/empty/templates/descriptions/biome.template b/_datafiles/world/empty/templates/descriptions/biome.template deleted file mode 100644 index 51170343..00000000 --- a/_datafiles/world/empty/templates/descriptions/biome.template +++ /dev/null @@ -1,6 +0,0 @@ -┌─ .: Biome Info ─────────────────────────────────────────────────────────┐ - Name: {{ .Name }} - Symbol: {{ .SymbolString }} - Lighting: {{ if .IsDark }}It's always dark.{{ else if .IsLit }}It is kept well lit at night.{{ else }}Visibility is affected by the day/night cycle.{{ end }} - Description: {{ splitstring .Description 59 " " }} -└─────────────────────────────────────────────────────────────────────────┘ diff --git a/_datafiles/world/empty/templates/descriptions/exits.template b/_datafiles/world/empty/templates/descriptions/exits.template deleted file mode 100644 index 3003308a..00000000 --- a/_datafiles/world/empty/templates/descriptions/exits.template +++ /dev/null @@ -1,15 +0,0 @@ -Exits: -{{- $exitCount := add (len .VisibleExits) (len .TemporaryExits) -}} -{{- if eq $exitCount 0 -}} - None -{{- else -}} - {{- $displayed := 0 -}} - {{- range $exitStr, $exitInfo := .VisibleExits -}} - {{- $displayed = add $displayed 1 -}} - {{ if $exitInfo.Secret }}({{ end }}{{ $exitStr }}{{ if $exitInfo.Secret }}){{ end }}{{ if $exitInfo.HasLock }}{{ if not $exitInfo.Lock.IsLocked }} (unlocked){{ else }} (locked){{ end }}{{ end }}{{- if ne $displayed $exitCount }}, {{ end -}} - {{- end -}} - {{- range $exitStr, $tmpExitInfo := .TemporaryExits -}} - {{- $displayed = add $displayed 1 -}} - {{ $tmpExitInfo.Title }}{{- if ne $displayed $exitCount }}, {{ end -}} - {{- end -}} -{{- end }} diff --git a/_datafiles/world/empty/templates/descriptions/insidecontainer.template b/_datafiles/world/empty/templates/descriptions/insidecontainer.template deleted file mode 100644 index ef140eea..00000000 --- a/_datafiles/world/empty/templates/descriptions/insidecontainer.template +++ /dev/null @@ -1,12 +0,0 @@ -{{- $displayed := 0 -}} -{{ $itemCt := len .ItemNames -}} - ┌─────────────────────────────────────────────────────────────────────────┐ - - Inside: -{{- if ne $itemCt 0 -}} - {{ $formattedNames := .ItemNamesFormatted -}}{{- $strlen := 0 -}}{{- $lineCt := 1 -}} - {{ range $index, $name := .ItemNames -}}{{ $proposedLength := (add 2 (add $strlen (len $name))) }}{{- if gt $proposedLength 66 -}}{{- $strlen = 0 -}}{{- $lineCt = (add 1 $lineCt) -}}{{- printf "\n " -}}{{- end -}}{{ index $formattedNames $index }}{{- if ne $index (sub $itemCt 1) }}, {{ $strlen = (add 2 (add $strlen (len $name))) }}{{ end }}{{ end }} -{{ else -}} -Nothing -{{ end }} - └─────────────────────────────────────────────────────────────────────────┘ \ No newline at end of file diff --git a/_datafiles/world/empty/templates/descriptions/inspect.template b/_datafiles/world/empty/templates/descriptions/inspect.template deleted file mode 100644 index a690b761..00000000 --- a/_datafiles/world/empty/templates/descriptions/inspect.template +++ /dev/null @@ -1,42 +0,0 @@ -{{ $inspectLevel := .InspectLevel }}{{ $damage := .Item.GetDamage }} - ┌─ .:Basic Info ──────────────────────────────────────────────────────────────┐ - Name: {{ padRight 53 (uc .Item.Name) }} - Description: {{ splitstring .ItemSpec.Description 61 " " }} - Type: {{ uc .ItemSpec.Type.String }} ({{ uc .ItemSpec.Subtype.String }}) - Value: {{ padRight 53 ( printf "%d gold" .ItemSpec.Value ) }} - └─────────────────────────────────────────────────────────────────────────────┘ - ┌─ .:Specifics Stats ─────────────────────────────────────────────────────────┐ -{{- if gt $inspectLevel 1 }} - Damage: {{ if ne .ItemSpec.Type.String "weapon" }}{{ padRight 53 "N/A" }}{{ else }}{{ padRight 53 (formatdiceroll $damage.DiceRoll) }}{{ end }} - Defense: {{ if eq .ItemSpec.DamageReduction 0 }}{{ padRight 53 "N/A" }}{{ else }}{{ .ItemSpec.DamageReduction }} Armor{{ end }} - Uses Left: {{ if eq .ItemSpec.Uses 0 }}{{ padRight 53 "N/A" }}{{ else }}{{ padRight 53 (printf "%d/%d" .Item.Uses .ItemSpec.Uses) }}{{ end }} -{{- else }} - Unknown... -{{- end }} - └─────────────────────────────────────────────────────────────────────────────┘ - ┌─ .:Modifiers ───────────────────────────────────────────────────────────────┐ -{{- if gt $inspectLevel 2 }}{{ $ct := 0 }}{{ $total := len .ItemSpec.StatMods }} -{{- range $statName, $qty := .ItemSpec.StatMods }}{{if eq (mod $ct 4) 0 }}{{ printf "\n" }}{{ end }}{{ $ct = add $ct 1 }} {{ printf "%-12s" (uc (printf "%s:" $statName)) }} {{ $qty }}{{ if ne $total $ct }}{{ end }}{{ end }} -{{- if gt (len .ItemSpec.BuffIds) 0 }} - Applies: {{ range $idx, $buffId := .ItemSpec.BuffIds }}{{ buffname $buffId }} - - {{ buffduration $buffId }} - {{- end }}{{ end }} -{{- else }} - Unknown... -{{- end }} - └─────────────────────────────────────────────────────────────────────────────┘ - ┌─ .:Magical Effects ─────────────────────────────────────────────────────────┐ -{{- if gt $inspectLevel 3 }} -{{- if .Item.IsCursed }} - It's CURSED!{{ end }} -{{- if gt (len .ItemSpec.Element.String) 0 }} - Element: {{ padRight 53 (uc .ItemSpec.Element.String) }}{{ end }} -{{- if gt (len .ItemSpec.Damage.CritBuffIds) 0 }} - Crits Apply: {{ range $idx, $buffId := .ItemSpec.Damage.CritBuffIds }}{{ buffname $buffId }} - - {{ buffduration $buffId }} - {{ end }}{{ end }} -{{- else }} - Unknown... -{{- end }} - └─────────────────────────────────────────────────────────────────────────────┘ - diff --git a/_datafiles/world/empty/templates/descriptions/ontheground.template b/_datafiles/world/empty/templates/descriptions/ontheground.template deleted file mode 100644 index 32b51be1..00000000 --- a/_datafiles/world/empty/templates/descriptions/ontheground.template +++ /dev/null @@ -1,10 +0,0 @@ -{{- $displayed := 0 -}}{{- $groundItems := .GroundStuff -}} -{{- $itemCt := len $groundItems -}} -{{- if ne $itemCt 0 }}On the Ground: - {{- range $index, $itemName := $groundItems -}} - {{- $displayed = add $displayed 1 -}} - {{ $itemName }}{{- if ne $displayed $itemCt }}{{- if ne $displayed (sub $itemCt 1) }}, {{ else }} and {{ end }}{{ end -}} - {{- end }} -{{ else if false -}} -On the Ground: Nothing -{{ end }} \ No newline at end of file diff --git a/_datafiles/world/empty/templates/descriptions/room-title.template b/_datafiles/world/empty/templates/descriptions/room-title.template deleted file mode 100644 index c629b788..00000000 --- a/_datafiles/world/empty/templates/descriptions/room-title.template +++ /dev/null @@ -1,5 +0,0 @@ -{{ $mapSymbol := "" -}} -{{ if ne .RoomSymbol "" -}} - {{ $mapSymbol = printf `[%s] ` (lowercase .RoomLegend) .RoomSymbol }} -{{- end }} -.: {{ $mapSymbol }}{{ .Title }}{{ if ne .Zone ""}} [{{ .Zone }}]{{ end }}{{ if .ShowPvp }} ☠ PK Area ☠ {{ end }} \ No newline at end of file diff --git a/_datafiles/world/empty/templates/descriptions/room.template b/_datafiles/world/empty/templates/descriptions/room.template deleted file mode 100644 index 924ad85a..00000000 --- a/_datafiles/world/empty/templates/descriptions/room.template +++ /dev/null @@ -1,10 +0,0 @@ -{{ .Description }} -{{- range $index, $alertStr := .RoomAlerts }} - - ┌───────────────────────────────────────────────────────────────────┐ - {{ $alertStr }} - └───────────────────────────────────────────────────────────────────┘ -{{- end }} -{{- if ne (len .TrackingString) 0 }} -{{ .TrackingString }} -{{ end }} diff --git a/_datafiles/world/empty/templates/descriptions/rune.template b/_datafiles/world/empty/templates/descriptions/rune.template deleted file mode 100644 index b407c8cc..00000000 --- a/_datafiles/world/empty/templates/descriptions/rune.template +++ /dev/null @@ -1 +0,0 @@ - A rune reads: [{{ .DisplayText }}] \ No newline at end of file diff --git a/_datafiles/world/empty/templates/descriptions/sign.template b/_datafiles/world/empty/templates/descriptions/sign.template deleted file mode 100644 index 0f6aded4..00000000 --- a/_datafiles/world/empty/templates/descriptions/sign.template +++ /dev/null @@ -1 +0,0 @@ - A sign reads: [{{ .DisplayText }}] \ No newline at end of file diff --git a/_datafiles/world/empty/templates/descriptions/track.template b/_datafiles/world/empty/templates/descriptions/track.template deleted file mode 100644 index 70e4db27..00000000 --- a/_datafiles/world/empty/templates/descriptions/track.template +++ /dev/null @@ -1,9 +0,0 @@ - ┌─ .:Recent Visitors ─────────────────────────────────────────────────────┐ - {{- if eq (len .) 0 }} - None - {{ else }} - {{- range $key, $val := . }} - [{{ $val.Strength }}] {{ stringor $val.Name "None" 0 }} {{ if ne $val.ExitName "" }}- It seems like they went {{ $val.ExitName }}{{ end }} -{{- end }} -{{- end }} - └─────────────────────────────────────────────────────────────────────────┘ diff --git a/_datafiles/world/empty/templates/descriptions/train.template b/_datafiles/world/empty/templates/descriptions/train.template deleted file mode 100644 index b0ae1d48..00000000 --- a/_datafiles/world/empty/templates/descriptions/train.template +++ /dev/null @@ -1,13 +0,0 @@ -Train here to pick up new and interesting skills. You can train -skills more than once to increase their effectiveness. - -Type "help [skill_name]" to find out more - - ┌─ .:Skills Taught Here ──────────────────────────────────────────────────┐ - {{ range $skillName, $optionDetails := .Options }} {{ if eq $optionDetails.Cost 0 }}{{else}}{{ end }}{{ padRight 12 $optionDetails.Name }} [{{ pad 7 $optionDetails.CurrentStatus }}] {{ $optionDetails.Message }} - {{ end -}} - └─────────────────────────────────────────────────────────────────────────┘ - You have {{ .TrainingPoints }} Training Points to spend. Level up to earn more. - -To train a skill, type "train [skill_name]" - diff --git a/_datafiles/world/empty/templates/descriptions/who.template b/_datafiles/world/empty/templates/descriptions/who.template deleted file mode 100644 index 204e39f0..00000000 --- a/_datafiles/world/empty/templates/descriptions/who.template +++ /dev/null @@ -1,18 +0,0 @@ -{{- $displayed := 0 -}} -{{- $whoCt := add (len .VisiblePlayers) (len .VisibleMobs) -}} -{{- if ne $whoCt 0 -}} -Also here: - {{- range $index, $playerName := .VisiblePlayers -}} - {{- $displayed = add $displayed 1 -}} - {{ $playerName }}{{- if ne $displayed $whoCt }}{{- if ne $displayed (sub $whoCt 1) }}, {{ else }} and {{ end }}{{ end -}} - {{- end }} - {{- range $index, $mobName := .VisibleMobs -}} - {{- $displayed = add $displayed 1 -}} - {{ $mobName }}{{- if ne $displayed $whoCt }}{{- if ne $displayed (sub $whoCt 1) }}, {{ else }} and {{ end }}{{ end -}} - {{- end -}} -{{- else if false -}} -Nobody else is here. - -{{- end -}} -{{- if ne $whoCt 0 }} -{{ end }} \ No newline at end of file diff --git a/_datafiles/world/empty/templates/generic/prompt.yn.template b/_datafiles/world/empty/templates/generic/prompt.yn.template deleted file mode 100644 index dd296f98..00000000 --- a/_datafiles/world/empty/templates/generic/prompt.yn.template +++ /dev/null @@ -1,15 +0,0 @@ -{{.prompt}} [ -{{- $default := .default -}} -{{- $length := len .options -}} -{{- $lastIndex := sub $length 1 -}} -{{- range $index, $element := .options -}} - {{- if eq $element $default -}} - {{$element}} - {{- else -}} - {{$element}} - {{- end -}} - {{- if ne $index $lastIndex -}} - / - {{- end -}} -{{- end -}} -]: \ No newline at end of file diff --git a/_datafiles/world/empty/templates/generic/sunrise.screenreader.template b/_datafiles/world/empty/templates/generic/sunrise.screenreader.template deleted file mode 100644 index 094e75cb..00000000 --- a/_datafiles/world/empty/templates/generic/sunrise.screenreader.template +++ /dev/null @@ -1,6 +0,0 @@ -The sun rises. - -It is day {{ .Day }} of year {{ .Year }}. -The month is {{ month .Month }}. -It is the year of the {{ zodiac .Year }} - \ No newline at end of file diff --git a/_datafiles/world/empty/templates/generic/sunrise.template b/_datafiles/world/empty/templates/generic/sunrise.template deleted file mode 100644 index 04c42c39..00000000 --- a/_datafiles/world/empty/templates/generic/sunrise.template +++ /dev/null @@ -1,21 +0,0 @@ - ┌─────────────────────────────────────────────────────────────────────────┐ - - | - \ | / - \ / - ######### - ############### - ################### - --- ##################### --- - ~~~~~ ~~ ~~~~~~~~~~~~~~~~~~~~~ ~~ ~~~~~ - ~ ~ ~~~~~~~~~~~~~ ~~~~~ ~~ - ~ ~ ~~~~~~ ~~ ~~~ ~ ~~ ~~~ - ~ ~~ ~~ ~~~~~~~ ~~ ~~ - The sun rises. - - It is day {{ .Day }} of year {{ .Year }}. - The month is {{ month .Month }}. - It is the year of the {{ zodiac .Year }} - - └─────────────────────────────────────────────────────────────────────────┘ - \ No newline at end of file diff --git a/_datafiles/world/empty/templates/generic/sunset.screenreader.template b/_datafiles/world/empty/templates/generic/sunset.screenreader.template deleted file mode 100644 index d84a25c0..00000000 --- a/_datafiles/world/empty/templates/generic/sunset.screenreader.template +++ /dev/null @@ -1,2 +0,0 @@ - The sun sets. - \ No newline at end of file diff --git a/_datafiles/world/empty/templates/generic/sunset.template b/_datafiles/world/empty/templates/generic/sunset.template deleted file mode 100644 index 8bb4a452..00000000 --- a/_datafiles/world/empty/templates/generic/sunset.template +++ /dev/null @@ -1,13 +0,0 @@ - ┌─────────────────────────────────────────────────────────────────────────┐ - - @@@@@@@@@ - @@@@@@@@@@@@@@@ - @@@@@@@@@@@@@@@@@@@ - ~~~~~ ~~ ~~~ ~~~~~~ ~~~~~~ ~~~~ ~~ ~~~~ - ~ ~ ~~ ~ ~ ~~ ~~~~ ~~ - ~ ~~ ~ ~~ ~~ ~~ ~~ ~~ ~~~ - ~ ~~ ~ ~ ~~ ~~ ~ - The sun sets. - - └─────────────────────────────────────────────────────────────────────────┘ - \ No newline at end of file diff --git a/_datafiles/world/empty/templates/goodbye.template b/_datafiles/world/empty/templates/goodbye.template deleted file mode 100644 index 0eeeb328..00000000 --- a/_datafiles/world/empty/templates/goodbye.template +++ /dev/null @@ -1,19 +0,0 @@ - -⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⡤⠒⠒⠢⢄⡀⠀⠀⢠⡏⠉⠉⠉⠑⠒⠤⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ -⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⡞⠀⠀⠀⠀⠀⠙⢦⠀⡇⡇⠀⠀⠀⠀⠀⠀⠈⠱⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ -⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⠊⠉⠉⠙⠒⢤⡀⠀⣼⠀⠀⢀⣶⣤⠀⠀⠀⢣⡇⡇⠀⠀⢴⣶⣦⠀⠀⠀⢳⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ -⠀⠀⠀⢀⣠⠤⢄⠀⠀⢰⡇⠀⠀⣠⣀⠀⠀⠈⢦⡿⡀⠀⠈⡟⣟⡇⠀⠀⢸⡇⡆⠀⠀⡼⢻⣠⠀⠀⠀⣸⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ -⠀⢀⠖⠉⠀⠀⠀⣱⡀⡞⡇⠀⠀⣿⣿⢣⠀⠀⠈⣧⣣⠀⠀⠉⠋⠀⠀⠀⣸⡇⠇⠀⠀⠈⠉⠀⠀⠀⢀⡏⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ -⣠⠏⠀⠀⣴⢴⣿⣿⠗⢷⡹⡀⠀⠘⠾⠾⠀⠀⠀⣿⣿⣧⡀⠀⠀⠀⢀⣴⠇⣇⣆⣀⢀⣀⣀⣀⣀⣤⠟⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ -⣿⠀⠀⢸⢻⡞⠋⠀⠀⠀⢿⣷⣄⠀⠀⠀⠀⠀⣠⡇⠙⢿⣽⣷⣶⣶⣿⠋⢰⣿⣿⣿⣿⣿⣿⠿⠛⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ -⡿⡄⠀⠈⢻⣝⣶⣶⠀⠀⠀⣿⣿⣱⣶⣶⣶⣾⡟⠀⠀⠀⢈⡉⠉⢩⡖⠒⠈⠉⡏⡴⡏⠉⠉⠉⠉⠉⠉⠉⠉⡇⠀⠀⢀⣴⠒⠢⠤⣀ -⢣⣸⣆⡀⠀⠈⠉⠁⠀⠀⣠⣷⠈⠙⠛⠛⠛⠉⢀⣴⡊⠉⠁⠈⢢⣿⠀⠀⠀⢸⠡⠀⠁⠀⠀⠀⣠⣀⣀⣀⣀⡇⠀⢰⢁⡇⠀⠀⠀⢠ -⠀⠻⣿⣟⢦⣤⡤⣤⣴⣾⡿⢃⡠⠔⠒⠉⠛⠢⣾⢿⣿⣦⡀⠀⠀⠉⠀⠀⢀⡇⢸⠀⠀⠀⠀⠀⠿⠿⠿⣿⡟⠀⢀⠇⢸⠀⠀⠀⠀⠘ -⠀⠀⠈⠙⠛⠿⠿⠿⠛⠋⢰⡋⠀⠀⢠⣤⡄⠀⠈⡆⠙⢿⣿⣦⣀⠀⠀⠀⣜⠀⢸⠀⠀⠀⠀⠀⠀⠀⠀⢀⠃⠀⡸⠀⠇⠀⠀⠀⠀⠀ -⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡇⢣⠀⠀⠈⠛⠁⠀⢴⠥⡀⠀⠙⢿⡿⡆⠀⠀⢸⠀⢸⢰⠀⠀⠀⢀⣿⣶⣶⡾⠀⢀⠇⣸⠀⠀⠀⠀⠀⠀ -⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠹⡀⢇⠀⠀⠀⢀⡀⠀⠀⠈⢢⠀⠀⢃⢱⠀⠀⠀⡇⢸⢸⠀⠀⠀⠈⠉⠉⠉⢱⠀⠼⣾⣿⣿⣷⣦⠴⠀⠀ -⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢱⠘⡄⠀⠀⢹⣿⡇⠀⠀⠈⡆⠀⢸⠈⡇⢀⣀⣵⢨⣸⣦⣤⣤⣄⣀⣀⣀⡞⠀⣠⡞⠉⠈⠉⢣⡀⠀⠀ -⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢃⠘⡄⠀⠀⠉⠀⠀⣠⣾⠁⠀⠀⣧⣿⣿⡿⠃⠸⠿⣿⣿⣿⣿⣿⣿⠟⠁⣼⣾⠀⠀⠀⠀⢠⠇⠀⠀ -⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠘⡄⠹⣀⣀⣤⣶⣿⡿⠃⠀⠀⠀⠈⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠁⠀⠀⢻⣿⣷⣦⣤⣤⠎⠀⠀⠀ -⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠘⣤⣿⡿⠟⠛⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠉⠉⠀⠀⠀⠀⠀ - \ No newline at end of file diff --git a/_datafiles/world/empty/templates/help/about.template b/_datafiles/world/empty/templates/help/about.template deleted file mode 100644 index 7d0ed527..00000000 --- a/_datafiles/world/empty/templates/help/about.template +++ /dev/null @@ -1,61 +0,0 @@ -.: About GoMud - -GoMud is an open source MUD (Multi-user Dungeon) game world and library. - -The GoMud engine ships with a default world to play in, but can be overwritten -or modified to build your own world using built-in tools. - -Join the GoMud Discord Server: discord.gg/cjukKvQWyy -Find out more (or get the code): github.com/GoMudEngine/GoMud - - .--. .-'. .--. .--. .--. .--. .`-. .--. -:::::.\::::::::.\::::::::.\::::::::.\::::::::.\::::::::.\::::::::.\::::::::.\ -' `--' `.-' `--' `--' `--' `-.' `--' ` - -.: GoMud History - -GoMud development began in late 2023 by Dylan Squires (aka Volte6) with -several key goals in mind: - -1. Offer a new, free code base in a modern language. - Go was selected as it has a fast build process and excellent OS/CPU - Architecture compatibility (Windows, Linux, ARM, etc.). Additionally being - statically linked it avoids many dependency issues encountered when running - engines based languages such as C. Finally, Go is able to pull libraries - straight from their repositories (such as git), rather than rely on public - registries. - -2. Commit to a high standard of color and style integration. - Legacy MUD engines tend to disappoint in terms of consistent and ubiquitous - color or visual style. GoMud seeks to address this issue directly by - fearlessly including color in the MUD, and supporting techniques to easily - include or adjust color styling as a MUD admin. - -3. Support a high degree of customization - GoMud doesn't presume to know how you want your MUD to play. Do you want - long days and short nights, or the other way around? Do you want PVP, or to - use a specific color palette? Do you want to support permadeath and player - loot drops? Should a round be 3 seconds or 4? GoMud seeks to make all of - these decisions easily customizable through config files. - - .--. .-'. .--. .--. .--. .--. .`-. .--. -:::::.\::::::::.\::::::::.\::::::::.\::::::::.\::::::::.\::::::::.\::::::::.\ -' `--' `.-' `--' `--' `--' `-.' `--' ` - -.: Special Thanks - -Those who contributed to GoMud via testing, content, code, and discussion -during its first year of development. In alphabetical order: - - Andrew Burns aka mister_burns - Arin Bennett aka Sloan - Colin Senner aka colinsenner - Durf Durfleton aka Durf - Ethan Samuels aka ethaburd - Jake aka Jake - Jeff aka Armoredartist - Jeffrey Edwards aka Miphon - Jeremy Owens - Michael Myers aka avatus - Scott aka Neopong - William L aka 1aw123 diff --git a/_datafiles/world/empty/templates/help/actionpoints.template b/_datafiles/world/empty/templates/help/actionpoints.template deleted file mode 100644 index 905525b8..00000000 --- a/_datafiles/world/empty/templates/help/actionpoints.template +++ /dev/null @@ -1,11 +0,0 @@ -.: Help for action points - -Action points are automatically used up when performing certain actions, such -as moving from room to room. They refill automatically and quickly, but when -empty, you may be prevented from doing some things until they recover. - -You can add a visual representation of your Action Points to your prompt, too. - - -See also: help prompt - diff --git a/_datafiles/world/empty/templates/help/adjectives.template b/_datafiles/world/empty/templates/help/adjectives.template deleted file mode 100644 index 4f262b65..00000000 --- a/_datafiles/world/empty/templates/help/adjectives.template +++ /dev/null @@ -1,12 +0,0 @@ -.: Help for adjectives - -Adjectives are text tags and symbols that give information about the state of -characters. They can be displayed as normal or short form. - -Examples: - - Normal: Also here: Sam, Chuckles (☠downed|hidden|zOmBie) and Tim (☠downed) - Short: Also here: Sam, Chuckles (|?|z) and Tim () - -See also: help set - diff --git a/_datafiles/world/empty/templates/help/alias.template b/_datafiles/world/empty/templates/help/alias.template deleted file mode 100644 index ea42c8ec..00000000 --- a/_datafiles/world/empty/templates/help/alias.template +++ /dev/null @@ -1,11 +0,0 @@ -.: Help for alias - -The alias command lists and sets aliases - -Usage: - - alias - List all aliases, including system defaults - - alias [name]=[value] - Create a custom alias. Left of the '=' is the command, right of the '=' is the replacement. - - alias [name]= - Clear an alias (value of [name]) diff --git a/_datafiles/world/empty/templates/help/alignment.template b/_datafiles/world/empty/templates/help/alignment.template deleted file mode 100644 index 33381f9c..00000000 --- a/_datafiles/world/empty/templates/help/alignment.template +++ /dev/null @@ -1,26 +0,0 @@ -.: Help for alignment - -A player or mobs alignment reflects their reputation and behavior. - -You can see your alignment at the top of your stats information. - -The possible alignments are: - - 80 to 100: Holy - 60 to 79: Good - 40 to 59: Virtuous - 20 to 39: Lawful - -19 to 19: Neutral - -20 to -39: Misguided - -40 to -59: Corrupt - -60 to -79: Evil - -80 to -100: Unholy - -Alignment naturally decays over time, eventually settling back at Neutral. -Mobs you encounter may behave differently towards you depending upon their -alignment, and yours. Some mobs with an alignment of Virtuous or higher -may see unscrupulous acts and intervene. - -When PVP is enabled, players may freely attack others with an Evil alignment -or lower, and receive no penalty. - diff --git a/_datafiles/world/empty/templates/help/appraise.template b/_datafiles/world/empty/templates/help/appraise.template deleted file mode 100644 index c73e1d87..00000000 --- a/_datafiles/world/empty/templates/help/appraise.template +++ /dev/null @@ -1,9 +0,0 @@ -.: Help for appraise - -The appraise command will pay a merchant a fee to get basic information on an item. - -Usage: - - appraise sword - This would be equivalent to using the inspect skill. - diff --git a/_datafiles/world/empty/templates/help/arcane-scholar.template b/_datafiles/world/empty/templates/help/arcane-scholar.template deleted file mode 100644 index ea1a2b7a..00000000 --- a/_datafiles/world/empty/templates/help/arcane-scholar.template +++ /dev/null @@ -1,12 +0,0 @@ -.: Help for arcane scholar - -Arcane Scholar is one of the jobs available to players, and has 3 skills areas -to train in. - -The following skills are required to become an Arcane Scholar: - -- Enchant -- Scribe -- Inspect - -See also: help jobs diff --git a/_datafiles/world/empty/templates/help/armor.template b/_datafiles/world/empty/templates/help/armor.template deleted file mode 100644 index 97a9e570..00000000 --- a/_datafiles/world/empty/templates/help/armor.template +++ /dev/null @@ -1,13 +0,0 @@ -.: Help for armor - -The armor stat measures your chances of avoiding damage. - -Usage: - -Armor is a maximum percentage of damage you can block ( random between 1 and {Armor} ). -Each attack is calculated separately for how much it blocks. - -Each piece of equipment you wear can add or remove from your Armor total, just as it does other stats. - -You get a 50% bonus to your armor if you have a non weapon (shield) in your offhand slot. (50 Armor becomes 75) - diff --git a/_datafiles/world/empty/templates/help/ask.template b/_datafiles/world/empty/templates/help/ask.template deleted file mode 100644 index b673f841..00000000 --- a/_datafiles/world/empty/templates/help/ask.template +++ /dev/null @@ -1,11 +0,0 @@ -.: Help for ask - -The ask command asks mobs/NPC's questions. This is useful -for getting information about quests, or when you have a hired mercenary, to give them commands. - -Usage: - - ask quest - ask Why are you sad? - ask buddy to drop sword - diff --git a/_datafiles/world/empty/templates/help/assassin.template b/_datafiles/world/empty/templates/help/assassin.template deleted file mode 100644 index c9d259f4..00000000 --- a/_datafiles/world/empty/templates/help/assassin.template +++ /dev/null @@ -1,12 +0,0 @@ -.: Help for assassin - -Assassin is one of the jobs available to players, and has 3 skills areas -to train in. - -The following skills are required to become an Assassin: - -- SkullDuggery -- Dual Wield -- Track - -See also: help jobs diff --git a/_datafiles/world/empty/templates/help/attack.md b/_datafiles/world/empty/templates/help/attack.md deleted file mode 100644 index 7d422586..00000000 --- a/_datafiles/world/empty/templates/help/attack.md +++ /dev/null @@ -1,20 +0,0 @@ -# Help for ~attack~ - -The ~attack~ command engages in combat with a player or NPC. -Once started, combat continues until someone flees or someone dies. - -## Usage: - - ~attack goblin~ - This would start combat with the goblin. - -*Chance to Hit* is calculated as follows: - -- **attackersSpeed** / (**atackerSpeed** + **defenderSpeed**) * **70** + **30** - -You always have a minimum 5% chance to miss, and a minimum 5% chance to hit. - -*Crit Chance* is calculated as follows: - -- (**Strength** + **Speed**) / (**attackerLevel** - **defenderLevel**) + **5** - diff --git a/_datafiles/world/empty/templates/help/attack.template b/_datafiles/world/empty/templates/help/attack.template deleted file mode 100644 index 3ba59e2e..00000000 --- a/_datafiles/world/empty/templates/help/attack.template +++ /dev/null @@ -1,14 +0,0 @@ -.: Help for attack - -The attack command engages in combat with a player or NPC. Once started combat continues -until someone flees or someone dies. - -Usage: - - attack goblin - This would start combat with the goblin - -When in combat your chance to hit is: attackersSpeed / (atackerSpeed+defenderSpeed) * 70 + 30 -You always have a minimum 5% chance to miss and a minimum 5% chance to hit - -Crits Chance is calculated as follows: (Strength+Speed) / (attackerLevel-defenderLevel) + 5 diff --git a/_datafiles/world/empty/templates/help/bank.template b/_datafiles/world/empty/templates/help/bank.template deleted file mode 100644 index 17d6125c..00000000 --- a/_datafiles/world/empty/templates/help/bank.template +++ /dev/null @@ -1,12 +0,0 @@ -.: Help for bank - -The bank command lets you deposit and withdraw from a bank. - -Usage: - - bank - See your gold on hand and in the bank - - deposit [amount/all] - Deposit an amount of gold (or all) into the bank - - withdraw [amount/all] - Withdraw an amount of gold (or all) from the bank - diff --git a/_datafiles/world/empty/templates/help/biome.template b/_datafiles/world/empty/templates/help/biome.template deleted file mode 100644 index 83995b51..00000000 --- a/_datafiles/world/empty/templates/help/biome.template +++ /dev/null @@ -1,9 +0,0 @@ -.: Help for biome - -The biome tells you a little bit about the biome you are located in. - -Different biomes have risks or benefits associated with them. - -Usage: - - biome diff --git a/_datafiles/world/empty/templates/help/brawling.template b/_datafiles/world/empty/templates/help/brawling.template deleted file mode 100644 index 2e81ceb0..00000000 --- a/_datafiles/world/empty/templates/help/brawling.template +++ /dev/null @@ -1,14 +0,0 @@ -.: Help for brawling (skill) - -The brawling skill gives you moves to use in combat. - -Usage: - -(Lvl 1) recover Enter a state of rest where health is recovered more quickly -(Lvl 2) throw [object] [mob/direction] You can throw objects at NPCs or other rooms. -(Lvl 3) tackle [player/mob] Attempt to tackle an opponent, making them miss a round. -(Lvl 4) disarm [player/mob] Attempt to disarm an opponent. - -The odds of a successful tackle are: AttackSpeed - DefendPerception + 10 -The chance to disarm is: (attackSpeed+attackSmarts)-(defendStrength+defendPerception) + 5 - diff --git a/_datafiles/world/empty/templates/help/break.template b/_datafiles/world/empty/templates/help/break.template deleted file mode 100644 index 8f98128f..00000000 --- a/_datafiles/world/empty/templates/help/break.template +++ /dev/null @@ -1,10 +0,0 @@ -.: Help for break - -The break command disengages your part of combat. -Note: Enemies may still attack you! - -Usage: - - break - This would allow you to move around again. - diff --git a/_datafiles/world/empty/templates/help/broadcast.template b/_datafiles/world/empty/templates/help/broadcast.template deleted file mode 100644 index ad4e0301..00000000 --- a/_datafiles/world/empty/templates/help/broadcast.template +++ /dev/null @@ -1,16 +0,0 @@ -.: Help for broadcast - -The broadcast command sends a message to everyone connected. - -You can also use ` and ' as a shortcut. - -Usage: - - broadcast hi everyone - ` hi everyone - ' hi everyone - - Output to everyone: - - (broadcast) Charles: hi everyone - diff --git a/_datafiles/world/empty/templates/help/bury.template b/_datafiles/world/empty/templates/help/bury.template deleted file mode 100644 index 084ba917..00000000 --- a/_datafiles/world/empty/templates/help/bury.template +++ /dev/null @@ -1,9 +0,0 @@ -.: Help for bury - -The bury command cleans up corpses from the room. - -Usage: - - bury rat corpse - - diff --git a/_datafiles/world/empty/templates/help/buy.template b/_datafiles/world/empty/templates/help/buy.template deleted file mode 100644 index 632ac263..00000000 --- a/_datafiles/world/empty/templates/help/buy.template +++ /dev/null @@ -1,11 +0,0 @@ -.: Help for buy - -The buy command buys an item for sale at a merchant. - -Usage: - - buy sword - This would a sword, if you have the gold and the merchant carries the object. - -Find out more about referring to items by name by typing help item-names. - diff --git a/_datafiles/world/empty/templates/help/cast.template b/_datafiles/world/empty/templates/help/cast.template deleted file mode 100644 index 4b0cb96b..00000000 --- a/_datafiles/world/empty/templates/help/cast.template +++ /dev/null @@ -1,13 +0,0 @@ -.: Help for cast - -The cast command attempts to cast a learned spell. - -Usage: - - cast illum - This would attempt to cast the "Illuminate" spell, if it's in your spell book. - - Spells can also be cast by using their shorthand/ID directly, such as: illum - -See also: help spells - diff --git a/_datafiles/world/empty/templates/help/character.template b/_datafiles/world/empty/templates/help/character.template deleted file mode 100644 index 7146151a..00000000 --- a/_datafiles/world/empty/templates/help/character.template +++ /dev/null @@ -1,7 +0,0 @@ -.: Help for character - -The character command can only be used in special rooms that indicate it is -supported. - -When used, you can re-create your current character, create an alt character (if enabled), or switch -between alt characters. diff --git a/_datafiles/world/empty/templates/help/charset.template b/_datafiles/world/empty/templates/help/charset.template deleted file mode 100644 index 2c7fbf6b..00000000 --- a/_datafiles/world/empty/templates/help/charset.template +++ /dev/null @@ -1,29 +0,0 @@ -.: Help for Drawing Charset test - -Box Test: - 1)+-++ 2)┌─┬┐ 3)╒═╤╕ 4)╓─╥╖ 5)╔═╦╗ - | || │ ││ │ ││ ║ ║║ ║ ║║ - +-++ ├─┼┤ ╞═╪╡ ╟─╫╢ ╠═╬╣ - +-++ └─┴┘ ╘═╧╛ ╙─╨╜ ╚═╩╝ - -Block Test: - 1)▄▄▄▄▄ 2)░░░ 3)▒▒▒ 4)▓▓▓ - ▌ █ ▐ ░ ░ ▒ ▒ ▓ ▓ - ▀▀▀▀▀ ░░░ ▒▒▒ ▓▓▓ - -Specific Characters Test: - - 1)§ 2)« 3)» 4)¤ 5)× 6)ø 7)+ 8)☠ 9)☺ - 10)♚ 11)♥ 12)♦ 13)⚑ 14)⚒ 15)⚔ 16)⚘ 17)☀️ 18)☹ - 19)⚰ 20)λ 21)★ 22)♨ 23)⚛ 24)⚠ 25)⚭ 26)☣ 27)☘ - 28)♣ 29)• 30)Ʌ 31)☇ 32)Δ 33)Θ 34)ϟ 35)ж 36)҉ - 37)ೱ 38)☍ 39)⚔ 40)⚕ 41)⚘ 42)⦿ 43)⦾ 44)⩕ 45)⩬ - 46)⬨ 47)⬧ 48)⬯ 49)⬮ 50)꠪ 51)꠫ 52)Ø 53) 54)🔑 - 55)☾ - - -Dice Test: - - ⚀ ⚁ ⚂ ⚃ ⚄ ⚅ - - diff --git a/_datafiles/world/empty/templates/help/colors.template b/_datafiles/world/empty/templates/help/colors.template deleted file mode 100644 index 12da07c2..00000000 --- a/_datafiles/world/empty/templates/help/colors.template +++ /dev/null @@ -1,65 +0,0 @@ -.: Help for colors - -Rainbow Color Codes: - 016 052 088 124 160 196 203 210 217 224 231 - 016 052 088 124 160 202 209 216 223 230 231 - 016 052 088 124 166 208 215 222 229 230 231 - 016 052 088 130 172 214 221 228 229 230 231 - 016 052 094 136 178 220 227 228 229 230 231 - 016 058 100 142 184 226 227 228 229 230 231 - 016 022 064 106 148 190 227 228 229 230 231 - 016 022 028 070 112 154 191 228 229 230 231 - 016 022 028 034 076 118 155 192 229 230 231 - 016 022 028 034 040 082 119 156 193 230 231 - 016 022 028 034 040 046 083 120 157 194 231 - 016 022 028 034 040 047 084 121 158 195 231 - 016 022 028 034 041 048 085 122 159 195 231 - 016 022 028 035 042 049 086 123 159 195 231 - 016 022 029 036 043 050 087 123 159 195 231 - 016 023 030 037 044 051 087 123 159 195 231 - 016 017 024 031 038 045 087 123 159 195 231 - 016 017 018 025 032 039 081 123 159 195 231 - 016 017 018 019 026 033 075 117 159 195 231 - 016 017 018 019 020 027 069 111 153 195 231 - 016 017 018 019 020 021 063 105 147 189 231 - 016 017 018 019 020 057 099 141 183 225 231 - 016 017 018 019 056 093 135 177 219 225 231 - 016 017 018 055 092 129 171 213 219 225 231 - 016 017 054 091 128 165 207 213 219 225 231 - 016 053 090 127 164 201 207 213 219 225 231 - 016 052 089 126 163 200 207 213 219 225 231 - 016 052 088 125 162 199 206 213 219 225 231 - 016 052 088 124 161 198 205 212 219 225 231 - 016 052 088 124 160 197 204 211 218 225 231 - -Pastel Color Codes: - 059 095 131 167 174 181 188 - 059 095 131 173 180 187 188 - 059 095 137 179 186 187 188 - 059 101 143 185 186 187 188 - 059 065 107 149 186 187 188 - 059 065 071 113 150 187 188 - 059 065 071 077 114 151 188 - 059 065 071 078 115 152 188 - 059 065 072 079 116 152 188 - 059 066 073 080 116 152 188 - 059 060 067 074 116 152 188 - 059 060 061 068 110 152 188 - 059 060 061 062 104 146 188 - 059 060 061 098 140 182 188 - 059 060 097 134 176 182 188 - 059 096 133 170 176 182 188 - 059 095 132 169 176 182 188 - 059 095 131 168 175 182 188 - - 102 138 144 108 109 103 139 145 - -ANSI Standard Color Codes: - 000 001 003 002 006 004 005 007 - 008 009 011 010 014 012 013 015 - - 232 233 234 235 236 237 238 239 - 240 241 242 243 244 245 246 247 - 248 249 250 251 252 253 254 255 - - diff --git a/_datafiles/world/empty/templates/help/conditions.template b/_datafiles/world/empty/templates/help/conditions.template deleted file mode 100644 index c0c1743a..00000000 --- a/_datafiles/world/empty/templates/help/conditions.template +++ /dev/null @@ -1,4 +0,0 @@ -.: Help for conditions - -The conditions command lists current afflictions. - diff --git a/_datafiles/world/empty/templates/help/consider.template b/_datafiles/world/empty/templates/help/consider.template deleted file mode 100644 index 313132aa..00000000 --- a/_datafiles/world/empty/templates/help/consider.template +++ /dev/null @@ -1,9 +0,0 @@ -.: Help for consider - -The consider command tries to determine if an enemy is a good match. - -Usage: - - consider goblin - You will receive a range of results, from YOU WILL DIE! to Very Favorable. - diff --git a/_datafiles/world/empty/templates/help/cooldowns.template b/_datafiles/world/empty/templates/help/cooldowns.template deleted file mode 100644 index f67454d3..00000000 --- a/_datafiles/world/empty/templates/help/cooldowns.template +++ /dev/null @@ -1,3 +0,0 @@ - -This is currently a debugging tool available to all players. - diff --git a/_datafiles/world/empty/templates/help/damage.template b/_datafiles/world/empty/templates/help/damage.template deleted file mode 100644 index 60830e63..00000000 --- a/_datafiles/world/empty/templates/help/damage.template +++ /dev/null @@ -1,16 +0,0 @@ -.: Help for damage - -The damage stat of weapons (and unarmed combat) represents combat attacks. - -Damage is often reprsented as a dice roll. For example: 2d6+1 - -In the example 2d6+1, to calculate damage, you would roll 2 dice, each having -6 sides, and then add 1 to the result. This is your final damage. - -The possible damage range for 2d6+1 is 3-13. As you can see, the minimum damage -scales up with the first number (Number of dice), whereas the maximum damage -scales up with the second number (Number of sides) - -Sometimes a weapon may automatically receive extra attacks. This is shown by -a #@ prefix to the damage. For example: 5@2d6+1 would attack 5 times with 2d6+1. - diff --git a/_datafiles/world/empty/templates/help/death.template b/_datafiles/world/empty/templates/help/death.template deleted file mode 100644 index c037e863..00000000 --- a/_datafiles/world/empty/templates/help/death.template +++ /dev/null @@ -1,15 +0,0 @@ -.: Help for death - -When your hitpoints fall to zero or less, you'll drop to the ground and begin -to bleed out. While bleeding out, each round you'll fall more and more into -the negative range. - -Once you reach -10 hitpoints, you will die! - -Dying can have many consequences - you can drop some of your gear or lose some -of your experience points. - -You will also be transported to the shadow realm, where you must wait for your -hitpoints to recover and for the next portal out to appear. - -If you lost gear on death, you'll need to go find it and recover it. diff --git a/_datafiles/world/empty/templates/help/drink.template b/_datafiles/world/empty/templates/help/drink.template deleted file mode 100644 index 9755d85b..00000000 --- a/_datafiles/world/empty/templates/help/drink.template +++ /dev/null @@ -1,11 +0,0 @@ -.: Help for drink - -The drink command drinks an item you carry (if it is drinkable). - -Usage: - - drink potion - This would drink your potion. - -Find out more about referring to items by name by typing help item-names. - diff --git a/_datafiles/world/empty/templates/help/drop.template b/_datafiles/world/empty/templates/help/drop.template deleted file mode 100644 index 45281350..00000000 --- a/_datafiles/world/empty/templates/help/drop.template +++ /dev/null @@ -1,11 +0,0 @@ -.: Help for drop - -The drop command drops an item you carry onto the ground. - -Usage: - - drop stick - This would drop a stick if you had it in your backpack. - -Find out more about referring to items by name by typing help item-names. - diff --git a/_datafiles/world/empty/templates/help/dual-wield.template b/_datafiles/world/empty/templates/help/dual-wield.template deleted file mode 100644 index 2b667ef2..00000000 --- a/_datafiles/world/empty/templates/help/dual-wield.template +++ /dev/null @@ -1,15 +0,0 @@ -.: Help for dual-wield (skill) - -The dual-wield skill lets you dual wield weapons that usually wouldn't allow it. - -At levels 1-3, you incur a 35% chance-to-hit penalty. -At level 4, you incur a 25% chance-to-hit penalty. - -Usage: - -(Lvl 1) You can dual wield weapons that you normally couldn't. Attacks use a - random weapon. -(Lvl 2) Occasionally you will attack with both weapons in one round. -(Lvl 3) You will always attack with both weapons when Dual wielding. -(Lvl 4) Dual wielding incurs fewer penalties - diff --git a/_datafiles/world/empty/templates/help/eat.template b/_datafiles/world/empty/templates/help/eat.template deleted file mode 100644 index 261495ed..00000000 --- a/_datafiles/world/empty/templates/help/eat.template +++ /dev/null @@ -1,11 +0,0 @@ -.: Help for eat - -The eat command eats an item you carry (if it is edible). - -Usage: - - eat sandwich - This would drink your sandwich. - -Find out more about referring to items by name by typing help item-names. - diff --git a/_datafiles/world/empty/templates/help/emote.template b/_datafiles/world/empty/templates/help/emote.template deleted file mode 100644 index e77f9a9e..00000000 --- a/_datafiles/world/empty/templates/help/emote.template +++ /dev/null @@ -1,18 +0,0 @@ -.: Help for emote - -The emote command is a simple role playing command that lets you customize an -action or reaction to the room. - -Example: - - [HP:10/10 MP:10/10]: emote scratches his head. - Chuckles scratches his head. - -What others see: - - [HP:6/6 MP:8/8]: Chuckles scratches his head. - -Here are some shortcut emotes that can be invoked with a single word: - -{{ $counter := 0 -}}{{ range $command, $output := . }} {{ padRight 8 $command }} {{ if eq (mod $counter 6) 5 }}{{ printf "\n" }}{{ end }}{{ $counter = (add $counter 1) }}{{ end }} - diff --git a/_datafiles/world/empty/templates/help/enchant.template b/_datafiles/world/empty/templates/help/enchant.template deleted file mode 100644 index cc50f3f1..00000000 --- a/_datafiles/world/empty/templates/help/enchant.template +++ /dev/null @@ -1,26 +0,0 @@ -.: Help for enchant (skill) - -The enchant skill embues objects with enhanced properties. - -As you level up the enchant skill, it can apply a great enchantment. -Your odds of success (and degree of succes) are influence by the Mysticism stat. - -Beware, no item can be enchanted more than once! - -Usage: - -(Lvl 1) enchant [item] Enchant a weapon with a damage bonus. -(Lvl 2) enchant [item] Enchant equipment with a defensive bonus. -(Lvl 3) enchant [item] Add a stat bonus to a weapon or equipment in addition to the above. -(Lvl 4) unenchant/uncurse [item] Remove the enchantment or curse from any object. - -Check the odds of it exploding before you enchant it with: enchant chance [item] - -Enchant bonuses are calculated as follows: - - Damage Bonus - SquareRoot( Mysticism ) - - Defense Bonus - SqareRoot( Mysticism ) - - Random Status Bonus - SqareRoot( Mysticism ) - - You get 2 random stat bonus at SkillLevel 3, and another at SkillLevel 4 - - Enchanted items have a 25% chance of becoming cursed. - Items that are enchanted have a 50 - (SkillLevel*10) + (NumberOfEnchantments*20) - (Mysticism/4)% Chance to be destroyed diff --git a/_datafiles/world/empty/templates/help/encumbrance.template b/_datafiles/world/empty/templates/help/encumbrance.template deleted file mode 100644 index d2535f0f..00000000 --- a/_datafiles/world/empty/templates/help/encumbrance.template +++ /dev/null @@ -1,7 +0,0 @@ -.: Help for encumbrance - -When you carry more objects than your strength permits, you become encumbered. - -Check your inventory to see how many objects you can carry. - -When encumbered, you will quickly become tired when moving and take longer to recover. diff --git a/_datafiles/world/empty/templates/help/equip.template b/_datafiles/world/empty/templates/help/equip.template deleted file mode 100644 index 617c5adb..00000000 --- a/_datafiles/world/empty/templates/help/equip.template +++ /dev/null @@ -1,15 +0,0 @@ -.: Help for equip - -The equip command wields or wears an item from your backpack. - -Usage: - - equip stick - This would wield a stick from your backpack. - equip cloak - This would wear a cloak from your backpack. - -Aliases: wield, wear - -Find out more about referring to items by name by typing help item-names. - diff --git a/_datafiles/world/empty/templates/help/exits.template b/_datafiles/world/empty/templates/help/exits.template deleted file mode 100644 index 3aef5926..00000000 --- a/_datafiles/world/empty/templates/help/exits.template +++ /dev/null @@ -1,4 +0,0 @@ -.: Help for exits - -The exits command tells what known exits are in the room. - diff --git a/_datafiles/world/empty/templates/help/experience.template b/_datafiles/world/empty/templates/help/experience.template deleted file mode 100644 index 18932d33..00000000 --- a/_datafiles/world/empty/templates/help/experience.template +++ /dev/null @@ -1,16 +0,0 @@ -.: Help for experience - -The experience command gives you your current level, current experience points, -what you need to reach for your next level, and how many unspent training -points you have. - -Usage: - - experience - See a summary of your level information - -Extra Usage: - - experience chart [max_level] - See the level chart for your race - experience chart [race] - See the level chart for any other race race - experience chart [race] [max_level] - See the level chart for any other race race - diff --git a/_datafiles/world/empty/templates/help/explorer.template b/_datafiles/world/empty/templates/help/explorer.template deleted file mode 100644 index 6e9bfa10..00000000 --- a/_datafiles/world/empty/templates/help/explorer.template +++ /dev/null @@ -1,12 +0,0 @@ -.: Help for explorer - -Explorer is one of the jobs available to players, and has 3 skills areas -to train in. - -The following skills are required to become an Explorer: - -- Map -- Portal -- Scribe - -See also: help jobs diff --git a/_datafiles/world/empty/templates/help/flee.template b/_datafiles/world/empty/templates/help/flee.template deleted file mode 100644 index 36a66ce7..00000000 --- a/_datafiles/world/empty/templates/help/flee.template +++ /dev/null @@ -1,7 +0,0 @@ -.: Help for flee - -The flee command attempts to run away from combat into another area. - -If successful, foes will not chase you. You must escape every foe attacking you, however. - -The chance of success is 30 + (fleeSpeed / (fleeSpeed+attackerSpeed) * 70) diff --git a/_datafiles/world/empty/templates/help/get.template b/_datafiles/world/empty/templates/help/get.template deleted file mode 100644 index c13b493b..00000000 --- a/_datafiles/world/empty/templates/help/get.template +++ /dev/null @@ -1,13 +0,0 @@ -.: Help for get - -The get command picks up an item on the ground and puts it in your backpack. - -Usage: - - get stick - This would get a stick from the ground and put it in your backpack. - get stick from stash - This would get a stick stashed in the area and put it in your backpack. - -Find out more about referring to items by name by typing help item-names. - diff --git a/_datafiles/world/empty/templates/help/give.template b/_datafiles/world/empty/templates/help/give.template deleted file mode 100644 index 7b8e8844..00000000 --- a/_datafiles/world/empty/templates/help/give.template +++ /dev/null @@ -1,12 +0,0 @@ -.: Help for give - -The look command gives an object to another player or mob. - -Usage: - - give sword sam - This gives your sword to sam. - - give 30 gold sam - This gives 30 gold to sam. - diff --git a/_datafiles/world/empty/templates/help/go.template b/_datafiles/world/empty/templates/help/go.template deleted file mode 100644 index 7c4aaeef..00000000 --- a/_datafiles/world/empty/templates/help/go.template +++ /dev/null @@ -1,11 +0,0 @@ -.: Help for go - -The go command is used to travel from are to area. - -Typing go is unnecessary though, you can just type the exit name. - -Usage: - - go north - This is identical to typing north by itself to exit the room. - diff --git a/_datafiles/world/empty/templates/help/guide.template b/_datafiles/world/empty/templates/help/guide.template deleted file mode 100644 index 0310e5af..00000000 --- a/_datafiles/world/empty/templates/help/guide.template +++ /dev/null @@ -1,20 +0,0 @@ -.: Help for guide - -The guide is a special character that joins you until you reach level 5. - -The guide will help you out in combat, and if you sit around idle, the -guide will occasionally give you some suggestions or tips tohelp get you -started. - -When the guide dies, they will spawn to help you again in a little while. - -You can also ask guide for specific tasks such as: - -ask guide silence - This will request that the guide stop giving tips. -ask guide portal - This will request that the guide create a portal back to -town square. - -If your guide dies, they will return after a little while to help out again. - -.: Help for heal (skill) - -The heal spell bestow healing on the target. The healing takes place over -several rounds. - -The cooldown for heal is 12 rounds. With each level it up it can be used more -frequently. - -Usage: - -(Lvl 1) heal [target] Casts healing on the target, or yourself if omitted. -(Lvl 2) heal [target] Recovers in 10 rounds. -(Lvl 3) heal [target] Recovers in 8 rounds. -(Lvl 4) heal [target] Recovers in 6 rounds. - diff --git a/_datafiles/world/empty/templates/help/health.template b/_datafiles/world/empty/templates/help/health.template deleted file mode 100644 index 0ce383e3..00000000 --- a/_datafiles/world/empty/templates/help/health.template +++ /dev/null @@ -1,29 +0,0 @@ -.: Help for health - -The health (Hitpoints/HP) stat represents how much damage you can take. - -Health will change color to reflect how good/bad your health state is: - -100% -90%-99% -80%-89% -70%-79% -60%-69% -50%-59% -40%-49% -30%-39% -20%-29% -10%-19% -0%-9% -dead - -At 0 HP, you will drop to the floor and slowly bleed out. - -At -10 HP, you will die. When you die, all gear you posess drops to the ground. - -Health is calculated based on: - - Level - - Vitality * 4 - -Plus some bonuses every so many levels. - diff --git a/_datafiles/world/empty/templates/help/help.template b/_datafiles/world/empty/templates/help/help.template deleted file mode 100644 index d99f6000..00000000 --- a/_datafiles/world/empty/templates/help/help.template +++ /dev/null @@ -1,35 +0,0 @@ -.: Help for help - -The help command looks up guidance on a command. - -Usage: - - help say - Find help on the command say. - -Here are some skills and commands to look up to get started: -{{/* padRight 80 "" "-" */}} -{{ if gt (len .Commands) 0 -}} -Commands: -{{ range $category, $commandList := .Commands -}} - {{ uc $category }} -{{ $counter := 0 }} {{ range $i, $cmdInfo := $commandList }}{{ if $cmdInfo.Missing }}*{{ else }} {{ end }}{{ padRight 17 $cmdInfo.Command " " }} {{ if eq (mod $counter 4) 3 }}{{ if ne $i (sub (len $commandList) 1) }}{{ printf "\n " }}{{ end }}{{ end }}{{ $counter = (add $counter 1) }}{{ end }} -{{ end }} -{{ end }} - -{{- if gt (len .Skills) 0 -}} -Skills: -{{- range $category, $commandList := .Skills -}} - {{ uc $category }} -{{ $counter := 0 }} {{ range $i, $cmdInfo := $commandList }}{{ if $cmdInfo.Missing }}*{{ else }} {{ end }}{{ padRight 17 $cmdInfo.Command " " }} {{ if eq (mod $counter 4) 3 }}{{ if ne $i (sub (len $commandList) 1) }}{{ printf "\n " }}{{ end }}{{ end }}{{ $counter = (add $counter 1) }}{{ end }} -{{ end }} -{{ end }} - -{{- if gt (len .Admin) 0 -}} -Admin: -{{- range $category, $commandList := .Admin -}} - {{ uc $category }} -{{ $counter := 0 }} {{ range $i, $cmdInfo := $commandList }}{{ if $cmdInfo.Missing }}*{{ else }} {{ end }}{{ padRight 17 $cmdInfo.Command " " }} {{ if eq (mod $counter 4) 3 }}{{ if ne $i (sub (len $commandList) 1) }}{{ printf "\n " }}{{ end }}{{ end }}{{ $counter = (add $counter 1) }}{{ end }} -{{ end }}{{ end }} - -See also: help gomud diff --git a/_datafiles/world/empty/templates/help/hire.template b/_datafiles/world/empty/templates/help/hire.template deleted file mode 100644 index fab712d9..00000000 --- a/_datafiles/world/empty/templates/help/hire.template +++ /dev/null @@ -1,9 +0,0 @@ -.: Help for hire - -The hire command hires mercenaries offered by merchants. - -Usage: - - hire guard - This hires the guard, if you have the gold and the merchant offers a guard. - diff --git a/_datafiles/world/empty/templates/help/history.template b/_datafiles/world/empty/templates/help/history.template deleted file mode 100644 index 28b5204f..00000000 --- a/_datafiles/world/empty/templates/help/history.template +++ /dev/null @@ -1,12 +0,0 @@ -.: Help for history - -The history shows a list of logged events for your character. - -Usage: - - history - Show all history for all categories. - - history [category name] - Show all history for the category name supplied, such as "experience". - diff --git a/_datafiles/world/empty/templates/help/inbox.template b/_datafiles/world/empty/templates/help/inbox.template deleted file mode 100644 index 48153763..00000000 --- a/_datafiles/world/empty/templates/help/inbox.template +++ /dev/null @@ -1,9 +0,0 @@ -.: Help for inbox - -The inbox command checks your inbox for messages. - -Usage: - - inbox - See all new messages - inbox old - See all old messages - inbox clear - Delete all messages from your inbox diff --git a/_datafiles/world/empty/templates/help/inspect.template b/_datafiles/world/empty/templates/help/inspect.template deleted file mode 100644 index 06e866bb..00000000 --- a/_datafiles/world/empty/templates/help/inspect.template +++ /dev/null @@ -1,14 +0,0 @@ -.: Help for inspect (skill) - -The inspect skills looks at items and reveals hidden details. - -As you level up the inspect skill, new things can become revealed. - -Usage: - -(Lvl 1) inspect [item_name] Reveals the type and value of items. -(Lvl 2) inspect [item_name] Reveals weapon damage or uses an item has left. -(Lvl 3) inspect [item_name] Reveals any stat modifiers an item has. -(Lvl 4) inspect [item_name] Reveals special magical properties like elemental - effects. - diff --git a/_datafiles/world/empty/templates/help/inventory.template b/_datafiles/world/empty/templates/help/inventory.template deleted file mode 100644 index 27284072..00000000 --- a/_datafiles/world/empty/templates/help/inventory.template +++ /dev/null @@ -1,8 +0,0 @@ -.: Help for inventory - -The inventory command gives you a summary of your characters equipment. - -You can search for a specific object by entering its full (or partial) name: -inventory wood would list items with "wood" in the name. -inventory wearable would list all wearable items in your inventory. - diff --git a/_datafiles/world/empty/templates/help/item-names.template b/_datafiles/world/empty/templates/help/item-names.template deleted file mode 100644 index 0ace0127..00000000 --- a/_datafiles/world/empty/templates/help/item-names.template +++ /dev/null @@ -1,16 +0,0 @@ -.: Help for Item Names - -When referring to items by name, to use, get, drop, read, etc you may use -partial names to refer to items. For example, "a heavy sword" can be referred -to as "sword", or "heavy". You can also refer to it by its full name: -"heavy sword". - -Sometimes you may find yourself referring to items that share common naming. -For example, imagine these three items in your backpack, or on the ground: - - a heavy axe, a heavy sword, a heavy car axel - -Referring to "axe" or "heavy" is ambiguous. However you can refer to a specific -item that matches by adding a #[item_number] to the end of the name. For -example: get heavy#2 would get the second match: the heavy sword. - diff --git a/_datafiles/world/empty/templates/help/jobs.template b/_datafiles/world/empty/templates/help/jobs.template deleted file mode 100644 index c5ed066f..00000000 --- a/_datafiles/world/empty/templates/help/jobs.template +++ /dev/null @@ -1,30 +0,0 @@ -.: Help for jobs - -The jobs command lists suggested jobs and your progress towards them. -What job you are is determined by what skills you have and what level you are at the skills. - -Some skills overlap jobs such as Brawling. What Job you are classified by what what skills you -have and how many of the assigned skills of a job you have. If you type "jobs" its will show you -a % of each job you have. If you have 50% in Warrior and Paladin, you will be designated as a -dual class warrior and paladin. If you have 50% in Merchant but only 20% in Treasure Hunter, you -will be designated as a Merchant. - -Usage: - - jobs - -Note: Jobs are labels/groupings that describe areas you've trained a lot in. - -To find out about some specific jobs, try the following help commands: - - help arcane-scholar - help assassin - help explorer - help merchant - help monster-hunter - help paladin - help ranger - help sorcerer - help treasure-hunter - help warrior - \ No newline at end of file diff --git a/_datafiles/world/empty/templates/help/keyring.template b/_datafiles/world/empty/templates/help/keyring.template deleted file mode 100644 index b41d15c9..00000000 --- a/_datafiles/world/empty/templates/help/keyring.template +++ /dev/null @@ -1,29 +0,0 @@ -.: Help for keyring - -The keyring command tracks your current keys and picked locks. - -Whenever you use a key, it is taken from your items and added to your keyring -forever. You cannot lose a key once this happens. - -Similarly, if you pick a lock, you will always remember the sequence to pick -the lock. The lock will be instantaneously picked when you attempt to cross -through an exit or open a container. - -Usage: - - keyring - This will list all keys and lockpick sequences you have. - It will tell you the Type, Location, exit or container name, and - as the lockpick sequence if applicable. - -Example: - - [HP:66/66 MP:35/35]: keyring - .: Your Keyring: - ╒══════════╕══════════════════════════════╕═══════╕══════════╕ - │ TypeLocationWhereSequence │ - └──────────┘──────────────────────────────┘───────┘──────────┘ - │ Key#110 Inside of the Catacombswest- │ - │ Lockpick#784 Inside a ResidencechestD U U │ - └──────────┘──────────────────────────────┘───────┘──────────┘ - -See also: help picklock diff --git a/_datafiles/world/empty/templates/help/killstats.template b/_datafiles/world/empty/templates/help/killstats.template deleted file mode 100644 index 20f20335..00000000 --- a/_datafiles/world/empty/templates/help/killstats.template +++ /dev/null @@ -1,8 +0,0 @@ -.: Help for killstats - -The killstats tells you your stats for all the different mobs you've killed, and your kill/death ratio. - -The killstats race tells you the same information, broken down by mob race. - -The killstats zone tells you the same information, broken down by zone/area. - diff --git a/_datafiles/world/empty/templates/help/list.template b/_datafiles/world/empty/templates/help/list.template deleted file mode 100644 index a1d4c644..00000000 --- a/_datafiles/world/empty/templates/help/list.template +++ /dev/null @@ -1,12 +0,0 @@ -.: Help for list - -The list command lists items for sale at any merchants you are visiting. Some merchants -may even offer help for hire! - -Usage: - - list - This would list whatever the merchant is carrying. - -Find out more about referring to items by name by typing help item-names. - diff --git a/_datafiles/world/empty/templates/help/lock.template b/_datafiles/world/empty/templates/help/lock.template deleted file mode 100644 index 7f7e497f..00000000 --- a/_datafiles/world/empty/templates/help/lock.template +++ /dev/null @@ -1,10 +0,0 @@ -.: Help for lock - -The lock command attempts to re-lock any exit or container. -You'll need an appropriate key in your backpack or on your keyring. - -Usage: - - lock [exit name/container name] - This locks it if it is unlocked. - -See also: help unlock, help keyring, help picklock diff --git a/_datafiles/world/empty/templates/help/look.template b/_datafiles/world/empty/templates/help/look.template deleted file mode 100644 index ca146b7b..00000000 --- a/_datafiles/world/empty/templates/help/look.template +++ /dev/null @@ -1,23 +0,0 @@ -.: Help for look - -The look command looks at things in the room around -you. - -Usage: - - look - This looks at the room you are in and tells you about it. - - look north - This tries to peer into the room to the north exit. - - look dave - This looks at the user dave and tells you what you - can see about him. - - look sword#2 - This looks at the second sword in your backpack and gives you a description. - - Sometimes there is text in a room description that warrants a closer look. - You can often look at these for more information about them. - diff --git a/_datafiles/world/empty/templates/help/macros.template b/_datafiles/world/empty/templates/help/macros.template deleted file mode 100644 index cfef42d4..00000000 --- a/_datafiles/world/empty/templates/help/macros.template +++ /dev/null @@ -1,27 +0,0 @@ -.: Help for macros - -macros are special aliases that can issue one or more commands. - -Usage: - - set =# [command] - e.g. set =1 "say hi everyone" - Sets a macro # (0-10) to a command of your choice. You can then use this macro - as a shortcut to quickly issue to a command as follows: =1 - If your terminal program supports it, prettying a corresponding F-Key - - set =# - e.g. set =1 - Clears a macro # (0-10) - - =# - e.g. set =1 - Executes macro # (0-10) - - =? - Lists all currently set macros. - -Special Usage: - - You can split a macro into more than one command by separating extra commands - with a semicolon - ; - e.g. set =1 wave;say hi;emote sits down - - See also: help set diff --git a/_datafiles/world/empty/templates/help/mana.template b/_datafiles/world/empty/templates/help/mana.template deleted file mode 100644 index d39d4757..00000000 --- a/_datafiles/world/empty/templates/help/mana.template +++ /dev/null @@ -1,19 +0,0 @@ -.: Help for mana - -The mana (Magic/MP) stat represents how much magic you can channel. - -Mana will change color to reflect how much you have left: - -100% -90%-99% -80%-89% -70%-79% -60%-69% -50%-59% -40%-49% -30%-39% -20%-29% -10%-19% -0%-9% - - diff --git a/_datafiles/world/empty/templates/help/map-examples.template b/_datafiles/world/empty/templates/help/map-examples.template deleted file mode 100644 index d574cd2f..00000000 --- a/_datafiles/world/empty/templates/help/map-examples.template +++ /dev/null @@ -1,56 +0,0 @@ -.: Example maps - -Example Map: - -.-=~=-. .:Map for Frostfang .-=~=-. -(__ _)-._.-=-._.-=-._.-=-._.-=-._.-=-._.-=-._.-=-._.-=-._.-=-._.-=-._.-(__ _) -( _ __) %-* ( _ __) -(__ _) | (__ _) -( _ __) * ( _ __) -(__ _) | (__ _) -( _ __) * $ ( _ __) -(__ _) | | (__ _) -( _ __) *-*-*-T-*-*-*-* ( _ __) -(__ _) | | | (__ _) -( _ __) * @ I ( _ __) -(__ _) / | (__ _) -( _ __) * * ( _ __) -(__ _) | (__ _) -( _ __) *-*-+ ( _ __) -(__ _) | (__ _) -( _ __) *-* ( _ __) -(__ _) | | (__ _) -( _ __) *-* ( _ __) -(__ _) (__ _) -(_ ___)-._.-=-._.-=-._.-=-._.-=-._.-=-._.-=-._.-=-._.-=-._.-=-._.-=-._.-(_ ___) -`-._.-' `-._.-' - Legend [$ Shop [% Trainer [* Room [@ You [I Inn [T Townsquare [+ Temple - -Example "Wide" Map: - -.-=~=-. .:Map for Frostfang .-=~=-. -(__ _)-._.-=-._.-=-._.-=-._.-=-._.-=-._.-=-._.-=-._.-=-._.-=-._.-=-._.-(__ _) -( _ __) ( _ __) -(__ _) (__ _) -( _ __) ***** ( _ __) -(__ _) * * (__ _) -( _ __) ***** ( _ __) -(__ _) * (__ _) -( _ __) * ( _ __) -(__ _) %* (__ _) -( _ __) * ( _ __) -(__ _) * $ (__ _) -( _ __) ***T**** ( _ __) -(__ _) * @ I (__ _) -( _ __) * * ( _ __) -(__ _) **+ (__ _) -( _ __) ** ( _ __) -(__ _) ** (__ _) -( _ __) ( _ __) -(__ _) (__ _) -(_ ___)-._.-=-._.-=-._.-=-._.-=-._.-=-._.-=-._.-=-._.-=-._.-=-._.-=-._.-(_ ___) -`-._.-' `-._.-' - Legend [$ Shop [% Trainer [* Room [@ You [I Inn [T Townsquare [+ Temple - -Note: You can see roughly 4x as much area in the wide map as the normal one. - diff --git a/_datafiles/world/empty/templates/help/map.template b/_datafiles/world/empty/templates/help/map.template deleted file mode 100644 index 79a55706..00000000 --- a/_datafiles/world/empty/templates/help/map.template +++ /dev/null @@ -1,20 +0,0 @@ -.: Help for map (skill) - -The map command displays a map of the area, centered on your character. - -Not everything is guaranteed to be shown on the map. For example, hidden areas -may not be shown. - -With each level of training, your mapping skill will become more effective, -covering more area. - -Usage: - -(Lvl 1) map Map a 5x5 area around you. -(Lvl 2) map Map a 9x7 area around you. -(Lvl 3) map Map a 13x9 area around you. -(Lvl 4) map [wide] Map a 17x9 area around you, or if "wide" is specified, - twice the distance zoomed out. - -Your maps continue to expand with your perception: Perception/5 - diff --git a/_datafiles/world/empty/templates/help/merchant.template b/_datafiles/world/empty/templates/help/merchant.template deleted file mode 100644 index 4a1a91d3..00000000 --- a/_datafiles/world/empty/templates/help/merchant.template +++ /dev/null @@ -1,11 +0,0 @@ -.: Help for merchant - -Merchant is one of the jobs available to players, and has 2 skills areas -to train in. - -The following skills are required to become a Merchant: - -- Peep -- Trading - -See also: help jobs diff --git a/_datafiles/world/empty/templates/help/monster-hunter.template b/_datafiles/world/empty/templates/help/monster-hunter.template deleted file mode 100644 index 0750441a..00000000 --- a/_datafiles/world/empty/templates/help/monster-hunter.template +++ /dev/null @@ -1,11 +0,0 @@ -.: Help for monster hunter - -Monster Hunter is one of the jobs available to players, and has 2 skills areas -to train in. - -The following skills are required to become a Monster Hunter: - -- Tame -- Track - -See also: help jobs diff --git a/_datafiles/world/empty/templates/help/mysticism.template b/_datafiles/world/empty/templates/help/mysticism.template deleted file mode 100644 index 90e2f6f5..00000000 --- a/_datafiles/world/empty/templates/help/mysticism.template +++ /dev/null @@ -1,11 +0,0 @@ -.: Help for mysticism - -The mysticism stat measures your magical connection to the world. - -Usage: - -Besides various skils that use mysticism, here are some other general uses for it: - -* Mana recovery per round is affected by mysticism -* You get 2MP per point of mysticism - diff --git a/_datafiles/world/empty/templates/help/offer.template b/_datafiles/world/empty/templates/help/offer.template deleted file mode 100644 index dbe48dde..00000000 --- a/_datafiles/world/empty/templates/help/offer.template +++ /dev/null @@ -1,11 +0,0 @@ -.: Help for offer - -The offer asks a merchant what they are willing to pay for an item. - -Usage: - - offer sword - The merchant will tell you what he will pay for it, if anything. - -Find out more about referring to items by name by typing help item-names. - diff --git a/_datafiles/world/empty/templates/help/online.template b/_datafiles/world/empty/templates/help/online.template deleted file mode 100644 index 985867b6..00000000 --- a/_datafiles/world/empty/templates/help/online.template +++ /dev/null @@ -1,19 +0,0 @@ -.: Help for online - -The online command shows who is currently online. -It also tells you how long they are online, their role, and some other -information about their character in game. - -Example: - - [HP:66/66 MP:35/35]: online - .: 4 users online - ╒══════════╕═══════╕═══════════╕════════════════════╕════════╕═══════╕ - │ NameLevelAlignmentProfessionOnlineRole │ - └──────────┘───────┘───────────┘────────────────────┘────────┘───────┘ - │ Chuckles9neutralapprentice paladin43madmin │ - │ Rockshot3corruptnovice assassin3muser │ - │ Wutend13lawfulexpert warrior1h8muser │ - │ Skitzith23virtuousjourneyman paladin2h21muser │ - └──────────┘───────┘───────────┘────────────────────┘────────┘───────┘ - diff --git a/_datafiles/world/empty/templates/help/party.template b/_datafiles/world/empty/templates/help/party.template deleted file mode 100644 index 49782647..00000000 --- a/_datafiles/world/empty/templates/help/party.template +++ /dev/null @@ -1,18 +0,0 @@ -.: Help for party - -The party manages player parties/groups. - -Usage: - - party - Lists your current party and its members - party [create/new/start] - Creates a new party that you lead - party invite [name] - Invites a player to your party - party [accept/join] - Accepts an invitation to a party - party decline - Declines an invitation to a party - party [leave/quit] - Leaves a party you are a member of - party [disband/stop] - Destroys a party you lead - party kick [name] - Kicks a player out of a party you lead - party promote [name] - Promotes a player to leader of the party - party [say/chat] [message] - Sends a message only your party can receive - party autoattack [on/off] - Automatically join your party leader in combat - diff --git a/_datafiles/world/empty/templates/help/password.template b/_datafiles/world/empty/templates/help/password.template deleted file mode 100644 index a198915c..00000000 --- a/_datafiles/world/empty/templates/help/password.template +++ /dev/null @@ -1,5 +0,0 @@ -.: Help for password - -The password command allows you to change your password. - -Type password and answer the prompts to make the change. diff --git a/_datafiles/world/empty/templates/help/peep.template b/_datafiles/world/empty/templates/help/peep.template deleted file mode 100644 index 66d56360..00000000 --- a/_datafiles/world/empty/templates/help/peep.template +++ /dev/null @@ -1,14 +0,0 @@ -.: Help for peep (skill) - -The peep skill gives special information about NPC's and players. - -As you level up the peep skill, new information becomes available and may -become passively useful. - -Usage: - -(Lvl 1) You always can tell how healthy an NPC is. -(Lvl 2) peep [player/mob] Reveals detailed stats of the player or mob. -(Lvl 3) peep [player/mob] Also reveals equipment and items. -(Lvl 4) peep [player/mob] Also reveals the chance of dropping equipment. - diff --git a/_datafiles/world/empty/templates/help/perception.template b/_datafiles/world/empty/templates/help/perception.template deleted file mode 100644 index 333dd608..00000000 --- a/_datafiles/world/empty/templates/help/perception.template +++ /dev/null @@ -1,11 +0,0 @@ -.: Help for perception - -The perception stat measures your overall awareness to situations and attention to detail. - -Usage: - -Besides various skils that use perception, here are some other general uses for it: - -* Enemy groups remain hostile for (24 rounds)-DefenderPerception -* Unarmed combat gains 1 bonus damage for every 25 perception - diff --git a/_datafiles/world/empty/templates/help/pets.template b/_datafiles/world/empty/templates/help/pets.template deleted file mode 100644 index 265b4dc5..00000000 --- a/_datafiles/world/empty/templates/help/pets.template +++ /dev/null @@ -1,13 +0,0 @@ -.: Help for pets - -pets are familiars that follow you and assist you. - -They may provide you with stat bonuses, special powers, help you in combat, or -carry objects for you. - -When you first get a pet, you can give it a name: - - pet name {newname} - This will name your pet. - -Beware, you can only name a pet once. Try looking at your pet to get some quick -information about their wellbeing. diff --git a/_datafiles/world/empty/templates/help/picklock-example.template b/_datafiles/world/empty/templates/help/picklock-example.template deleted file mode 100644 index bfe52b88..00000000 --- a/_datafiles/world/empty/templates/help/picklock-example.template +++ /dev/null @@ -1,56 +0,0 @@ -.: Help for picklock - -Example: - - [HP:66/66 MP:35/35]: pick north - - .: The Lock Sequence Looks like: - ╔═══════╦═══════╦═══════╦═══════╦═══════╗ - ║ ║ - ║ ? ? ? ? ? ║ - ║ ║ - ╚═══════╩═══════╩═══════╩═══════╩═══════╝ - .: Move your lockpick? [UP/DOWN/quit] up - - *** Oops! Your lockpicks break off in the lock, resetting the lock. You'll have to start all over. *** - - [HP:66/66 MP:35/35]: pick north - - .: The Lock Sequence Looks like: - ╔═══════╦═══════╦═══════╦═══════╦═══════╗ - ║ ║ - ║ ? ? ? ? ? ║ - ║ ║ - ╚═══════╩═══════╩═══════╩═══════╩═══════╝ - .: Move your lockpick? [UP/DOWN/quit] down - - A satisfying *click* tells you that you're making progress... - - .: The Lock Sequence Looks like: - ╔═══════╦═══════╦═══════╦═══════╦═══════╗ - ║ ║ - ║ ? ? ? ? ║ - ║ D ║ - ╚═══════╩═══════╩═══════╩═══════╩═══════╝ - .: Move your lockpick? [UP/DOWN/quit] down - - A satisfying *click* tells you that you're making progress... - - .: The Lock Sequence Looks like: - ╔═══════╦═══════╦═══════╦═══════╦═══════╗ - ║ ║ - ║ ? ? ? ║ - ║ D D ║ - ╚═══════╩═══════╩═══════╩═══════╩═══════╝ - .: Move your lockpick? [UP/DOWN/quit] up - - A satisfying *click* tells you that you're making progress... - -Note: When you successfully complete an entire sequence, you will see: - - *** You Successfully picked the lock! *** - *** You can automatically pick this lock any time as long as you carry - lockpicks! *** - - -See also: help keyring diff --git a/_datafiles/world/empty/templates/help/picklock.template b/_datafiles/world/empty/templates/help/picklock.template deleted file mode 100644 index 5d365889..00000000 --- a/_datafiles/world/empty/templates/help/picklock.template +++ /dev/null @@ -1,30 +0,0 @@ -.: Help for picklock - -The picklock command attempts to pick the lock of any exit or container. -You'll need a set of lockpicks. - -Usage: - - picklock [exit name/container name] - This picks the lock. You can also use - it to inspect the lock and select `quit` without attempting to pick it. - -Examples: - - [HP:66/66 MP:35/35]: north - There's a lock preventing you from going that way. You'll need a Key or to - pick the lock with lockpicks. - - - [HP:66/66 MP:35/35]: pick north - - .: The Lock Sequence Looks like: - ╔═══════╦═══════╦═══════╦═══════╦═══════╗ - ║ ║ ║ ║ ║ ║ - ║ ????? ║ - ║ ║ ║ ║ ║ ║ - ╚═══════╩═══════╩═══════╩═══════╩═══════╝ - .: Move your lockpick? [UP/DOWN/quit] - -Note: Each ? symbol represents an UP or DOWN you must guess in the sequence. - -See also: help picklock-example, help keyring diff --git a/_datafiles/world/empty/templates/help/portal.template b/_datafiles/world/empty/templates/help/portal.template deleted file mode 100644 index 3d7c2961..00000000 --- a/_datafiles/world/empty/templates/help/portal.template +++ /dev/null @@ -1,17 +0,0 @@ -.: Help for portal (skill) - -The portal skills transports you to a new location. - -As you level up the portal skill, it can do more things. - -Usage: - -(Lvl 1) portal Transports you back to the Town Square of Frostfang. -(Lvl 2) portal Transports you to the root area of your zone. -(Lvl 3) portal set/clear Sets to your current area (or removes) the new - location you transport to. -(Lvl 4) portal open Creates a physical portal in the room for anyone to - travel through. - -The lifespan in seconds of your portals is calculated as follows: Mysticism * 10 + 30 - diff --git a/_datafiles/world/empty/templates/help/protection.template b/_datafiles/world/empty/templates/help/protection.template deleted file mode 100644 index 08773592..00000000 --- a/_datafiles/world/empty/templates/help/protection.template +++ /dev/null @@ -1,12 +0,0 @@ -.: Help for protection (skill) - -The protection skill gives you a way to protect your friends. - -Usage: - -(Lvl 1) aid [player] Revive a downed teammate, back to 1HP. The room must be calm. -(Lvl 2) rank [front/back] Set your position within a party to increase or decrease your chance of being targetted. -(Lvl 3) aid [player] Revive a downed teammate, back to 1HP, even if combat is occuring. -(Lvl 4) pray [player] Pray to the gods for a blessing. - -The higher your mysticism, the more blessings you will receive from the gods. diff --git a/_datafiles/world/empty/templates/help/put.template b/_datafiles/world/empty/templates/help/put.template deleted file mode 100644 index e934b0b5..00000000 --- a/_datafiles/world/empty/templates/help/put.template +++ /dev/null @@ -1,11 +0,0 @@ -.: Help for put - -The put command puts objects into containers. - -Usage: - - put stick in chest - This would put a stick you hold into the chest in the room. - put 10 gold into chest - This would put 10 gold into the chest. - diff --git a/_datafiles/world/empty/templates/help/pvp.template b/_datafiles/world/empty/templates/help/pvp.template deleted file mode 100644 index a0faa5f1..00000000 --- a/_datafiles/world/empty/templates/help/pvp.template +++ /dev/null @@ -1,11 +0,0 @@ -.: Help for ☠ PVP ☠ - -PVP is short for Player-versus-player. It's when two or more players can or do enter combat with eachother. - -You can see whether PVP is enabled on this server by typing: pvp - -The possible settings are: - - disabled - PVP is disabled on this server. You cannot fight other players. - enabled - PVP is enabled on this server. You can fight other players anywhere. - limited - PVP is limited on this server. You can fight other players in places labeled with: ☠ PK Area ☠ . diff --git a/_datafiles/world/empty/templates/help/quests.template b/_datafiles/world/empty/templates/help/quests.template deleted file mode 100644 index 441ffcd0..00000000 --- a/_datafiles/world/empty/templates/help/quests.template +++ /dev/null @@ -1,7 +0,0 @@ -.: Help for quests - -The quests command shows all current and completed quests. - -Usage: - - quests diff --git a/_datafiles/world/empty/templates/help/quit.template b/_datafiles/world/empty/templates/help/quit.template deleted file mode 100644 index 348f9170..00000000 --- a/_datafiles/world/empty/templates/help/quit.template +++ /dev/null @@ -1,7 +0,0 @@ -.: Help for quit - -The quit command initiates a meditation which must be undisturbed for several -rounds, after which you will be logged out of the game. - -If you drop a connection without doing this, you will become a zombie in game for a while, where you -will remain vulnerable even while disconnected. diff --git a/_datafiles/world/empty/templates/help/races.template b/_datafiles/world/empty/templates/help/races.template deleted file mode 100644 index 5e90563f..00000000 --- a/_datafiles/world/empty/templates/help/races.template +++ /dev/null @@ -1,35 +0,0 @@ -.: Help for races - -races represent the type of creature someone is. humans, elves, insects, and -everything else. - -Races may have their own unique traits and abilities others do not. - -Races are also affected by Size: - Small - 1-Handed weapons require 2 hands. 2-Handed weapons cannot be used. - Medium - Can use 1-Handed weapons with a shield, and sometimes dual-wield. - Large - 2-Handed weapons require 1 hand. Can sometimes dual-wield 2-Handed - weapons. - -Here is some useful race detail: - -{{ range $index, $raceInfo := . }}{{ $slotCount := len $raceInfo.GetEnabledSlots }} -┌──────────────────────────────────────────────────────────────────────────────┐ - - Race Name: {{ $raceInfo.Name }} - Description: {{ splitstring $raceInfo.Description 65 " " }} - XP Scale: {{ printf "%3.0f%%" (multfloat $raceInfo.TNLScale 100) }} - Size: {{ $raceInfo.Size }} - Unarmed: {{ $raceInfo.UnarmedName }} ({{ $raceInfo.Damage.DiceRoll }}) - First Aid: {{ if $raceInfo.KnowsFirstAid }}Yes{{ else }}No{{ end }} - Gear Slots: {{ if eq (len $raceInfo.GetEnabledSlots) 0 }}*None*{{end}}{{ range $slotIndex, $slotName := $raceInfo.GetEnabledSlots }}{{if gt $slotIndex 0 }}{{ if eq (mod $slotIndex 5) 0 }}{{ printf "\n " }}{{ end }}{{ end }}{{ padRight 9 (uc $slotName) }}{{ end }} - Stat Gains: Str: {{ $raceInfo.Stats.Strength.Base }}{{- ` ` -}} - Spd: {{ $raceInfo.Stats.Speed.Base }}{{- ` ` -}} - Smt: {{ $raceInfo.Stats.Smarts.Base }}{{- ` ` -}} - Vit: {{ $raceInfo.Stats.Vitality.Base }}{{- ` ` -}} - Mys: {{ $raceInfo.Stats.Mysticism.Base }}{{- ` ` -}} - Per: {{ $raceInfo.Stats.Perception.Base }} - Buffs: {{if eq (len $raceInfo.BuffIds) 0}}*None*{{end}}{{ range $slotIndex, $buffId := $raceInfo.BuffIds }}{{if gt $slotIndex 0 }}{{ printf "\n " }}{{ end }}{{ buffname $buffId }}{{ end }} - -└──────────────────────────────────────────────────────────────────────────────┘ -{{ end }} diff --git a/_datafiles/world/empty/templates/help/ranger.template b/_datafiles/world/empty/templates/help/ranger.template deleted file mode 100644 index e019289f..00000000 --- a/_datafiles/world/empty/templates/help/ranger.template +++ /dev/null @@ -1,12 +0,0 @@ -.: Help for ranger - -Ranger is one of the jobs available to players, and has 3 skills areas -to train in. - -The following skills are required to become a Ranger: - -- Map -- Search -- Track - -See also: help jobs diff --git a/_datafiles/world/empty/templates/help/read.template b/_datafiles/world/empty/templates/help/read.template deleted file mode 100644 index ba6faeea..00000000 --- a/_datafiles/world/empty/templates/help/read.template +++ /dev/null @@ -1,9 +0,0 @@ -.: Help for read - -The read command reads notes and maps you carry. - -Usage: - - read map - This reads the item in your inventory and shows you was it written on it. - diff --git a/_datafiles/world/empty/templates/help/remove.template b/_datafiles/world/empty/templates/help/remove.template deleted file mode 100644 index e5fe7228..00000000 --- a/_datafiles/world/empty/templates/help/remove.template +++ /dev/null @@ -1,15 +0,0 @@ -.: Help for remove - -The remove command wields or wears an item from your backpack. - -Usage: - - remove stick - This would wield a stick from hand. - remove cloak - This would wear a cloak from body. - -Aliases: unwear, unwield, unequip - -Find out more about referring to items by name by typing help item-names. - diff --git a/_datafiles/world/empty/templates/help/say.template b/_datafiles/world/empty/templates/help/say.template deleted file mode 100644 index 04f179c2..00000000 --- a/_datafiles/world/empty/templates/help/say.template +++ /dev/null @@ -1,10 +0,0 @@ -.: Help for say - -The say command says something aloud for anyone in the room to hear. - -Example: - - [HP:10/10 MP:10/10]: say hello everyone! - you say, "hello everyone!" - [HP:10/10 MP:10/10]: - diff --git a/_datafiles/world/empty/templates/help/scribe.template b/_datafiles/world/empty/templates/help/scribe.template deleted file mode 100644 index 6cd81c5d..00000000 --- a/_datafiles/world/empty/templates/help/scribe.template +++ /dev/null @@ -1,21 +0,0 @@ -.: Help for scribe (skill) - -The scribe skill gives the player the ability to write down things in the -world. -These will eventually decay into dust and scraps, but can be quite useful for -a time. - -You can train the scribe skill at a bard training school. -With each level of training, the variety of things you can scribe increases. - -Beware! Sometimes scribe may need to be used in combination with another skill! - -Usage: - -(Lvl 1) scribe note [txt] Write a message to a scrap of paper that can be saved - or shared. -(Lvl 2) scribe sign [txt] Create/Replace a makeshift sign with a short message - and place it in the area. Decays in a weeks time. -(Lvl 3) scribe rune [txt] Create/Replace a short hidden message into the area - that only you can see. Decays in a months time. -(Lvl 4) diff --git a/_datafiles/world/empty/templates/help/search.template b/_datafiles/world/empty/templates/help/search.template deleted file mode 100644 index 6128502f..00000000 --- a/_datafiles/world/empty/templates/help/search.template +++ /dev/null @@ -1,17 +0,0 @@ -.: Help for search (skill) - -The search skill searches the area for hidden objects. - -You can only search once every so often, and it relies on your Smarts for success. - -As you level up the search skill, new things can become revealed. - -Usage: - -(Lvl 1) search Search for secret exits or hidden players/mobs. -(Lvl 2) search Finds objects that may be hidden in the area. -(Lvl 3) search Finds special/unknown "things of interest" in the area. -(Lvl 4) search Doubles your chance of success when searching. - -Your chances of success when searching are calculated as follows: Smarts/4 + Perception/2 + 5 - diff --git a/_datafiles/world/empty/templates/help/sell.template b/_datafiles/world/empty/templates/help/sell.template deleted file mode 100644 index bcca501c..00000000 --- a/_datafiles/world/empty/templates/help/sell.template +++ /dev/null @@ -1,11 +0,0 @@ -.: Help for sell - -The sell sells an item to merchants you are visiting. - -Usage: - - sell sword - This would sell a sword, the merchant wants it and has the gold. - -Find out more about referring to items by name by typing help item-names. - diff --git a/_datafiles/world/empty/templates/help/set-prompt.template b/_datafiles/world/empty/templates/help/set-prompt.template deleted file mode 100644 index bddf44ef..00000000 --- a/_datafiles/world/empty/templates/help/set-prompt.template +++ /dev/null @@ -1,53 +0,0 @@ -.: Help for set prompt - -The set prompt command allows you to customize your in game prompt. - -Usage: - - set prompt [default/none] - Set your prompt back to the default or none - set prompt [prompt text] - Set a custom prompt - set fprompt [default/none] - Set your prompt back to the default or none - set fprompt [prompt text] - Set a custom prompt - - -Custom Prompt Tokens: - - Colors: - {fg#:bg#} Color, where fg# and bg# are numeric color codes. - Example: "{46:196}Hello world" would look like Hello world - See help colors for all color codes. - Note: Only one # (as in {109}) it is assumed to be a fg color. - You can specify only the bg color as follows: {:bg#} - - Health: - {hp} Current Health - With coloring (see help health) - {hp:-} Current Health - {HP} Current Maximum Health - With coloring (see help health) - {HP:-} Current Maximum Health - {hp%} Percent of Health left - With coloring (see help health) - {hp%:-} Percent of Health left - - Mana: - {mp} Current Mana - With coloring (see help mana) - {mp:-} Current Mana - {MP} Current Maximum Mana - With coloring (see help mana) - {MP:-} Current Maximum Mana - {mp%} Percent of Mana left - With coloring (see help mana) - {mp%:-} Percent of Mana left - - Other: - {xp} Current XP {XP} XP remaining for next level - {xp%} % of level complete {lvl} Character Level - {a} First letter alignment {A} Full alignment text - {tp} Unspent Training Points {sp} Unspent Stat Points - {i} Items carried count {I} Maximum carry capacity - {g} Gold on hand {h} Hidden/Invisible flag - {t} Day/Night symbol (/☀️) {T} Full time of day - {ap} Action Points {w} Wait rounds (fprompt) - {\n} New Line - -The default prompt is: -{8}[{t} {T} {255}HP:{hp}{8}/{HP} {255}MP:{13}{mp}{8}/{13}{MP}{8}]{239}{h}{8}: - -Note: You can reset your prompt to the default with set prompt default - diff --git a/_datafiles/world/empty/templates/help/set-wimpy.template b/_datafiles/world/empty/templates/help/set-wimpy.template deleted file mode 100644 index 4e3b44ac..00000000 --- a/_datafiles/world/empty/templates/help/set-wimpy.template +++ /dev/null @@ -1,9 +0,0 @@ -.: Help for set wimpy - -The set wimpy command allows you specify at what percentage health you will -automatically attempt to flee. - -Usage: - - set wimpy 0 - Disable wimpy - set wimpy 10 - At 10% or lower health you will flee combat. diff --git a/_datafiles/world/empty/templates/help/set.template b/_datafiles/world/empty/templates/help/set.template deleted file mode 100644 index a6aa39e5..00000000 --- a/_datafiles/world/empty/templates/help/set.template +++ /dev/null @@ -1,33 +0,0 @@ -.: Help for set command - -The set command configures your account. - -There are a handful of settings you can adjust with this command, including: - -Usage: - - set =# [command] - e.g. set =1 "say hi everyone" - Sets a macro # (0-10) to a command of your choice. You can then use this macro - as a shortcut to quickly issue to a command as follows: =1 - If your terminal program supports it, prettying a corresponding F-Key - Type help macros for more information about macros. - - set description [description] - e.g. set description "A fearsome warrior" - This sets the description players see when they look at your character. You - can also look at yourself to see your current description. - - set auction - This toggles the auction system on or off. If off, you will not receive notifications about system-wide auctions. - - set shortadjectives - This toggles short adjective displayes on or off. See help adjectives - - set prompt [prompt text] - This sets a custom prompt (See help prompt) - If you ommit the [prompt text], your current prompt will be displayed. - - set tinymap - This toggles the automatic tinymap on or off. It shows when looking at rooms. - - set wimpy - Set your wimpy percentage (See help wimpy) diff --git a/_datafiles/world/empty/templates/help/share.template b/_datafiles/world/empty/templates/help/share.template deleted file mode 100644 index 7ea03973..00000000 --- a/_datafiles/world/empty/templates/help/share.template +++ /dev/null @@ -1,8 +0,0 @@ -.: Help for share - -The share command shares wealth with your party - -Usage: - - share [amt] gold - This will split the [amt] of gold you specify amongst everyone in the party. diff --git a/_datafiles/world/empty/templates/help/shoot.template b/_datafiles/world/empty/templates/help/shoot.template deleted file mode 100644 index e9e7f857..00000000 --- a/_datafiles/world/empty/templates/help/shoot.template +++ /dev/null @@ -1,11 +0,0 @@ -.: Help for shoot - -The shoot command fires a weapon into an adjacent room. - -Usage: - - shoot [target] [exit] - This shoots at the target specified in the direction specified. - - Note: This engages combat but will break combat if the space between you and the target - is not closed quickly. diff --git a/_datafiles/world/empty/templates/help/shout.template b/_datafiles/world/empty/templates/help/shout.template deleted file mode 100644 index e256de05..00000000 --- a/_datafiles/world/empty/templates/help/shout.template +++ /dev/null @@ -1,10 +0,0 @@ -.: Help for shout - -The shout command shouts something to everyone in the room, and can be heard by -anyone in adjacent rooms. - -Example: - - [HP:10/10 MP:10/10]: shout here I am! - you shout, "HERE I AM!" - diff --git a/_datafiles/world/empty/templates/help/show.template b/_datafiles/world/empty/templates/help/show.template deleted file mode 100644 index 19ee8171..00000000 --- a/_datafiles/world/empty/templates/help/show.template +++ /dev/null @@ -1,8 +0,0 @@ -.: Help for show - -The look command shows an object to another player or mob. - -Usage: - - show sword sam - This shows your sword to sam. diff --git a/_datafiles/world/empty/templates/help/skills.template b/_datafiles/world/empty/templates/help/skills.template deleted file mode 100644 index 4d31e88a..00000000 --- a/_datafiles/world/empty/templates/help/skills.template +++ /dev/null @@ -1,8 +0,0 @@ -.: Help for skills - -The skills command lists your current known skills. - -Usage: - - skills - diff --git a/_datafiles/world/empty/templates/help/skulduggery.template b/_datafiles/world/empty/templates/help/skulduggery.template deleted file mode 100644 index facc4590..00000000 --- a/_datafiles/world/empty/templates/help/skulduggery.template +++ /dev/null @@ -1,21 +0,0 @@ -.: Help for skulduggery (skill) - -The skulduggery skill is actuall several skills you learn. - -Each skill is improved by your stats and level as well. - -Usage: - -(Lvl 1) sneak [direction/exit] Remain hidden for a period of time, even when moving between areas. -(Lvl 2) bump [enemy] Bump into a player or NPC, causing a fraction of their coins to drop to the ground. -(Lvl 3) backstab [enemy] Guarenteed critical on successful attack. -(Lvl 4) pickpocket [enemy] Gain ability to steal from players and NPC's while hidden. - -Odds of success on a bump attempt: attackStrength / 2 / LevelDifference -On success up to 25% of their gold will drop to the floor. - -Odds of success on a pickpocket attempt: ((attackSpeed+attackSmarts+attackPerception)/3 - defendPerception) / LevelDifference -You gain a +15% chance of success if you are sneaking at the time of a pickpocket attempt. -On success you steal at least 25% of their money and 1 item. - - diff --git a/_datafiles/world/empty/templates/help/smarts.template b/_datafiles/world/empty/templates/help/smarts.template deleted file mode 100644 index 17008678..00000000 --- a/_datafiles/world/empty/templates/help/smarts.template +++ /dev/null @@ -1,9 +0,0 @@ -.: Help for smarts - -The smarts stat measures your intellect. - -Usage: - -Besides various skils that use smarts, here are some other general uses for it: - - diff --git a/_datafiles/world/empty/templates/help/sorcerer.template b/_datafiles/world/empty/templates/help/sorcerer.template deleted file mode 100644 index cdbfc795..00000000 --- a/_datafiles/world/empty/templates/help/sorcerer.template +++ /dev/null @@ -1,11 +0,0 @@ -.: Help for sorcerer - -Sorcerer is one of the jobs available to players, and has 2 skills areas -to train in. - -The following skills are required to become a Sorcerer: - -- Cast -- Enchant - -See also: help jobs diff --git a/_datafiles/world/empty/templates/help/speed.template b/_datafiles/world/empty/templates/help/speed.template deleted file mode 100644 index 525dffa6..00000000 --- a/_datafiles/world/empty/templates/help/speed.template +++ /dev/null @@ -1,15 +0,0 @@ -.: Help for speed - -The speed stat measures your physical speed. - -Usage: - -Besides various skils that use speed, here are some other general uses for it: - -* Number of attacks is calculated as: (attackSpeed-DefenderSpeed) / 25 (rounded up) -* Chance to hit is: 30 + attackSpd/(AttackSpeed+DefenderSpeed) * 70 -* Crit chance is 5 + (AttackStrength+AttackSpeed) / levelDifference -* Chance to be followed is: (AttackSpeed-DefenderSpeed) + AttackPerception + 20 -* Flee chance is AttackSpeed / (AttackSpeed+DefenderSpeed) * 40 -* Unarmed combat gains 1 extra D for every 25 speed - diff --git a/_datafiles/world/empty/templates/help/spell.template b/_datafiles/world/empty/templates/help/spell.template deleted file mode 100644 index 438b3138..00000000 --- a/_datafiles/world/empty/templates/help/spell.template +++ /dev/null @@ -1,12 +0,0 @@ -.: Help for {{ .Name }} spell - -{{ .Description }} - -SpellID: {{ .SpellId }} -Name: {{ .Name }} -Type: {{ .Type.HelpOrHarmString }} -Target: {{ .Type.TargetTypeString }} -Mana Cost: {{ .Cost }} -Wait Time: {{ .WaitRounds }} rounds - -See also: help spells, help cast diff --git a/_datafiles/world/empty/templates/help/spells.template b/_datafiles/world/empty/templates/help/spells.template deleted file mode 100644 index 36e9a0b3..00000000 --- a/_datafiles/world/empty/templates/help/spells.template +++ /dev/null @@ -1,11 +0,0 @@ -.: Help for spells - -The spells command lists spells you have learned, along with some useful information about them. - -Usage: - - spells - - To get help on a particular spell, try: help spell [spellId] - -See also: help cast diff --git a/_datafiles/world/empty/templates/help/stash.template b/_datafiles/world/empty/templates/help/stash.template deleted file mode 100644 index 129dfdae..00000000 --- a/_datafiles/world/empty/templates/help/stash.template +++ /dev/null @@ -1,15 +0,0 @@ -.: Help for stash - -The stash command hides an item in the room. Nobody will know it's there but -you. - -Stashes can be searched for if someone has the search skill. To recover -an item from a stash, type get [item_name] from stash. - -Usage: - - stash stick - This would hide a stick in the room if you had it in your backpack. - -Find out more about referring to items by name by typing help item-names. - diff --git a/_datafiles/world/empty/templates/help/stat-train.template b/_datafiles/world/empty/templates/help/stat-train.template deleted file mode 100644 index 1612ca35..00000000 --- a/_datafiles/world/empty/templates/help/stat-train.template +++ /dev/null @@ -1,5 +0,0 @@ -.: Help for stat-train - -The stat-train command spends Stat Points you gave from leveling to improve your character. - -It will start an interactive prompt to choose what to improve in. diff --git a/_datafiles/world/empty/templates/help/status.template b/_datafiles/world/empty/templates/help/status.template deleted file mode 100644 index 3e2aa51a..00000000 --- a/_datafiles/world/empty/templates/help/status.template +++ /dev/null @@ -1,29 +0,0 @@ -.: Help for status - -The status command gives you a summary of your characters information. - -When you level up, you gain Stat Points which you can spend to upgrade your -stats base value. - -Usage: - - status - Show your character status - - status train - Spend stat points on upgrades to base stats. - -Related Help: - - race - level - experience - health - mana - armor - - strength - vitality - speed - mysticism - smarts - perception - diff --git a/_datafiles/world/empty/templates/help/storage.template b/_datafiles/world/empty/templates/help/storage.template deleted file mode 100644 index 5ae1398c..00000000 --- a/_datafiles/world/empty/templates/help/storage.template +++ /dev/null @@ -1,13 +0,0 @@ -.: Help for storage - -The storage command lets you store and unstore items. -These items can be retrieved at various locations in the world. - -Usage: - - storage - See what you have in storage - - unstore [item] - Remove an item from storage - - store [item] - Add an item in storage - diff --git a/_datafiles/world/empty/templates/help/strength.template b/_datafiles/world/empty/templates/help/strength.template deleted file mode 100644 index 1a6fc98c..00000000 --- a/_datafiles/world/empty/templates/help/strength.template +++ /dev/null @@ -1,12 +0,0 @@ -.: Help for strength - -The strength stat measures your physical might. - -Usage: - -Besides various skils that use strength, here are some other general uses for it: - -* Unarmed combat gains 1 extra D-side for every 4 strength -* Crit chance is 5 + (AttackStrength+AttackSpeed) / levelDifference -* You can carry 8 + (Strength/6) objects without emcumbering your movement. - diff --git a/_datafiles/world/empty/templates/help/tame.template b/_datafiles/world/empty/templates/help/tame.template deleted file mode 100644 index 0747c6f6..00000000 --- a/_datafiles/world/empty/templates/help/tame.template +++ /dev/null @@ -1,32 +0,0 @@ -.: Help for tame (skill) - -The tame skill lets you tame certain types of creatures for up to an hour. - -Each skill level you train adds to the number of creatures you can have tamed -at once. - -You have a random chance to learn to tame a new creature whenever you defeat -it in combat. This random chance can also increase over time if you continue to -defeat the same creature type over and over. - -Usage: - -(Lvl ?) tame List specific creatures you have learned to tame. - -(Lvl 1) tame [mobname] 2 tamed creatures. -(Lvl 2) tame [mobname] 3 tamed creatures. -(Lvl 3) tame [mobname] 4 tamed creatures. -(Lvl 4) tame [mobname] 5 tamed creatures. - -Your skill level affects how long a creature stays tamed for. - -Only some creatures can be successfully tamed, and some may require special -equipment. It is up to you to discover what creatures or equipment. - -Your chances of tame success are calculated from the following factors: - 1. Your level difference (the more of a level advantage you have the easier) - 2. The size of your target (the bigger the more difficult) - 3. The number of successes you have for this mob type - increases each 10 - 4. The targets health % - the lower their HP the easier it is. - 5. Whether the target is aggro'ed towards you. A 50% penalty if so. - diff --git a/_datafiles/world/empty/templates/help/track.template b/_datafiles/world/empty/templates/help/track.template deleted file mode 100644 index 26a38773..00000000 --- a/_datafiles/world/empty/templates/help/track.template +++ /dev/null @@ -1,19 +0,0 @@ -.: Help for track (skill) - -The track command searches the area for rooms a player or npc has recently -visited. - -Once the trail goes cold (Which could be immediately!) your map will end. - -If they are close enough, an X will mark their location on your map. - -You can train the track skill at a ranger training school. -With each level of training, your tracking skill will reach farther out to find your target. - -Usage: - -(Lvl 1) track See the most recent mob/player to pass through this room, excluding any present mobs/players. -(Lvl 2) track See all recent mobs/players to pass through this room, excluding any present mobs/players. -(Lvl 3) track Shows exit information for all tracked players or mobs. -(Lvl 4) Enhances the map skill to show nearby mobs and players, including the mini map. - diff --git a/_datafiles/world/empty/templates/help/trading.template b/_datafiles/world/empty/templates/help/trading.template deleted file mode 100644 index 2e65aab0..00000000 --- a/_datafiles/world/empty/templates/help/trading.template +++ /dev/null @@ -1,12 +0,0 @@ -.: Help for trading (skill) - -The brawling skill gives you moves to use in combat. - -Usage: - -(Lvl 1) auction [itemname] Sell items system-wide in the global auctions -(Lvl 2) appraise [itemname] See the estimated value of any item by looking at it. -(Lvl 3) haggle [itemname] Attempt to haggle down the price of a shop item. -(Lvl 4) stock [itemname] [price] Stock items in your own travelling store. - -The odds of a successful haggle are: Smarts - DefendSmarts + 10 diff --git a/_datafiles/world/empty/templates/help/train.template b/_datafiles/world/empty/templates/help/train.template deleted file mode 100644 index 8ace1a67..00000000 --- a/_datafiles/world/empty/templates/help/train.template +++ /dev/null @@ -1,10 +0,0 @@ -.: Help for train - -The train command spends Training Points (TP) at guilds and other -training spots. - -You can earn Traning Points by earning experience points through combat -and quests, and gaining levels - -Each level you train for a skill costs more Training Points than before. - diff --git a/_datafiles/world/empty/templates/help/training-schools.template b/_datafiles/world/empty/templates/help/training-schools.template deleted file mode 100644 index 7875a3a9..00000000 --- a/_datafiles/world/empty/templates/help/training-schools.template +++ /dev/null @@ -1,18 +0,0 @@ -.: Help for training schools - -There are several training schools to be found all over the world. Although -there are primary "guilds" for each discipline, not all training schools can -offer training at the level you need, for a given school. - -Training Schools: - -Explorers: - map - track -Scholars: - portal - inspect -Treasure Hunters: - scribe - search - diff --git a/_datafiles/world/empty/templates/help/trash.template b/_datafiles/world/empty/templates/help/trash.template deleted file mode 100644 index 247d79a1..00000000 --- a/_datafiles/world/empty/templates/help/trash.template +++ /dev/null @@ -1,11 +0,0 @@ -.: Help for trash - -The trash command destroys an item you carry, for good. - -Usage: - - trash stick - This would destroy a stick if you had it in your backpack. - -Find out more about referring to items by name by typing help item-names. - diff --git a/_datafiles/world/empty/templates/help/treasure-hunter.template b/_datafiles/world/empty/templates/help/treasure-hunter.template deleted file mode 100644 index ca763023..00000000 --- a/_datafiles/world/empty/templates/help/treasure-hunter.template +++ /dev/null @@ -1,14 +0,0 @@ -.: Help for treasure hunter - -Treasure Hunter is one of the jobs available to players, and has 5 skills areas -to train in. - -The following skills are required to become a Treasure Hunter: - -- Map -- Search -- Peep -- Inspect -- Trading - -See also: help jobs diff --git a/_datafiles/world/empty/templates/help/unlock.template b/_datafiles/world/empty/templates/help/unlock.template deleted file mode 100644 index 2d88f4c1..00000000 --- a/_datafiles/world/empty/templates/help/unlock.template +++ /dev/null @@ -1,10 +0,0 @@ -.: Help for unlock - -The unlock command attempts to unlock any exit or container. -You'll need an appropriate key in your backpack or on your keyring. - -Usage: - - unlock [exit name/container name] - This unlocks it if it is locked. - -See also: help lock, help keyring, help picklock diff --git a/_datafiles/world/empty/templates/help/use.template b/_datafiles/world/empty/templates/help/use.template deleted file mode 100644 index 822a4a89..00000000 --- a/_datafiles/world/empty/templates/help/use.template +++ /dev/null @@ -1,11 +0,0 @@ -.: Help for use - -The use command uses items (if they are usable). For example, a sleeping bag. - -Usage: - - use sleeping bag - This would sleep in your sleepping bag. - -Find out more about referring to items by name by typing help item-names. - diff --git a/_datafiles/world/empty/templates/help/vitality.template b/_datafiles/world/empty/templates/help/vitality.template deleted file mode 100644 index c8f6bd8d..00000000 --- a/_datafiles/world/empty/templates/help/vitality.template +++ /dev/null @@ -1,11 +0,0 @@ -.: Help for vitality - -The vitality stat measures your physical hardiness. - -Usage: - -Besides various skils that use vitality, here are some other general uses for it: - -* Healing per round is affected by vitality -* You get 4HP per point of Vitality - diff --git a/_datafiles/world/empty/templates/help/warrior.template b/_datafiles/world/empty/templates/help/warrior.template deleted file mode 100644 index 35a5f177..00000000 --- a/_datafiles/world/empty/templates/help/warrior.template +++ /dev/null @@ -1,11 +0,0 @@ -.: Help for warrior - -Warrior is one of the jobs available to players, and has 5 skills areas -to train in. - -The following skills are required to become a Warrior: - -- Brawling -- Dual Wield - -See also: help jobs diff --git a/_datafiles/world/empty/templates/help/whisper.template b/_datafiles/world/empty/templates/help/whisper.template deleted file mode 100644 index 5743a6d4..00000000 --- a/_datafiles/world/empty/templates/help/whisper.template +++ /dev/null @@ -1,9 +0,0 @@ -.: Help for whisper - -The whisper sends a message to another player. - -Usage: - - whisper chuckles Hey what's up? - This will send a whisper to that players character anywhere in the realm. - diff --git a/_datafiles/world/empty/templates/help/who.template b/_datafiles/world/empty/templates/help/who.template deleted file mode 100644 index 177f42bf..00000000 --- a/_datafiles/world/empty/templates/help/who.template +++ /dev/null @@ -1,4 +0,0 @@ -.: Help for who - -The who command tells you who is in the room with you (That you are aware of) - diff --git a/_datafiles/world/empty/templates/login/connect-splash.template b/_datafiles/world/empty/templates/login/connect-splash.template deleted file mode 100644 index 6997be05..00000000 --- a/_datafiles/world/empty/templates/login/connect-splash.template +++ /dev/null @@ -1,26 +0,0 @@ - - .---._ _,---_ - / ._ `-._ __.-----.__ _-' _, \ - ( / `. `#===""" ____ """===#' _,' \ ) - \| `._/) ._ --- -- _. (\_,/ |/ - )*' **.__ __.** '*( - # .==..__ "" "" __..==, # - # `"._(_). .(_)_."' # -{{ repeat "=" 80 }} - - O - {)xxx|===============- - O ______ __ ___ __ - / ____/____ / |/ /__ __ ____/ / - / / __ / __ \ / /|_/ // / / // __ / - / /_/ // /_/ / / / / // /_/ // /_/ / - \____/ \____/ /_/ /_/ \____/ \____/ O - -===============|xxx(} - O - -.: Welcome to GoMud, an open source MUD Library written in Go. - - Find out more (or get the code) at: - github.com/GoMudEngine/GoMud - -{{ repeat "=" 80 }} diff --git a/_datafiles/world/empty/templates/login/email-new.prompt.template b/_datafiles/world/empty/templates/login/email-new.prompt.template deleted file mode 100644 index 479cf3d9..00000000 --- a/_datafiles/world/empty/templates/login/email-new.prompt.template +++ /dev/null @@ -1 +0,0 @@ -Email Address{{ if .emailIsOptional }} (optional){{ end }}: \ No newline at end of file diff --git a/_datafiles/world/empty/templates/login/newuser.prompt.template b/_datafiles/world/empty/templates/login/newuser.prompt.template deleted file mode 100644 index 1254b428..00000000 --- a/_datafiles/world/empty/templates/login/newuser.prompt.template +++ /dev/null @@ -1 +0,0 @@ -{{ t "Create new user?" }} [y/n]: \ No newline at end of file diff --git a/_datafiles/world/empty/templates/login/password-new-verify.prompt.template b/_datafiles/world/empty/templates/login/password-new-verify.prompt.template deleted file mode 100644 index 70717b33..00000000 --- a/_datafiles/world/empty/templates/login/password-new-verify.prompt.template +++ /dev/null @@ -1 +0,0 @@ -Repeat your password: \ No newline at end of file diff --git a/_datafiles/world/empty/templates/login/password-new.prompt.template b/_datafiles/world/empty/templates/login/password-new.prompt.template deleted file mode 100644 index 3f5849a4..00000000 --- a/_datafiles/world/empty/templates/login/password-new.prompt.template +++ /dev/null @@ -1 +0,0 @@ -Choose your password: \ No newline at end of file diff --git a/_datafiles/world/empty/templates/login/password.mask.template b/_datafiles/world/empty/templates/login/password.mask.template deleted file mode 100644 index b6e32f3d..00000000 --- a/_datafiles/world/empty/templates/login/password.mask.template +++ /dev/null @@ -1 +0,0 @@ -* \ No newline at end of file diff --git a/_datafiles/world/empty/templates/login/password.prompt.template b/_datafiles/world/empty/templates/login/password.prompt.template deleted file mode 100644 index 764f4b70..00000000 --- a/_datafiles/world/empty/templates/login/password.prompt.template +++ /dev/null @@ -1 +0,0 @@ -{{ t "Login.password" }}: \ No newline at end of file diff --git a/_datafiles/world/empty/templates/login/username-new.prompt.template b/_datafiles/world/empty/templates/login/username-new.prompt.template deleted file mode 100644 index f2ed64dd..00000000 --- a/_datafiles/world/empty/templates/login/username-new.prompt.template +++ /dev/null @@ -1,5 +0,0 @@ - -CAUTION: This will be your login username, NOT your character name! -Whatever you use as your login name CANNOT be used as a character name. - -Choose your username: \ No newline at end of file diff --git a/_datafiles/world/empty/templates/login/username.prompt.template b/_datafiles/world/empty/templates/login/username.prompt.template deleted file mode 100644 index 8884e240..00000000 --- a/_datafiles/world/empty/templates/login/username.prompt.template +++ /dev/null @@ -1 +0,0 @@ -{{ t "Login.username" }} (or "new"): \ No newline at end of file diff --git a/_datafiles/world/empty/templates/mail/message.template b/_datafiles/world/empty/templates/mail/message.template deleted file mode 100644 index 1297d8d7..00000000 --- a/_datafiles/world/empty/templates/mail/message.template +++ /dev/null @@ -1,16 +0,0 @@ - -{{ $readMarker := "" -}} -{{- if .Read }}{{ $readMarker = "-read" }}{{ else }}{{ t "Inbox.NewMessage" }} -{{ end -}} -{{ t "Inbox.Sent" }}{{ .DateString }} -{{ t "Inbox.From" }}{{ .FromName }} - -{{ t "Inbox.Message" }}{{ splitstring .Message 71 " " }} -{{ if gt .Gold 0 }} -{{ $mapNoteGold := map "Gold" .Gold -}} -{{ t "Inbox.Note" }}{{ t "Inbox.NoteGold" $mapNoteGold }} -{{- end -}} -{{ if ne .Item nil }} -{{ $mapNoteItem := map "Item" .Item -}} -{{ t "Inbox.Note" }}{{ t "Inbox.NoteItem" $mapNoteItem }} -{{- end -}} \ No newline at end of file diff --git a/_datafiles/world/empty/templates/maps/map.template b/_datafiles/world/empty/templates/maps/map.template deleted file mode 100644 index d71aa5f3..00000000 --- a/_datafiles/world/empty/templates/maps/map.template +++ /dev/null @@ -1,22 +0,0 @@ -{{- $mapWidth := .Width -}} -{{- $legendWidth := .LegendWidth -}} -{{- $leftBorder := .LeftBorder -}} -{{- $midBorder := .MidBorder -}} -{{- $rightBorder := .RightBorder -}} -{{ $leftBorder.Top }} .:{{ printf ( printf "%%-%ds" ( sub $mapWidth 4 ) ) .Title }}{{ $rightBorder.Top }} -{{ index $leftBorder.Mid 0 }}{{ padRightX "" $midBorder.Top $mapWidth }}{{ index $rightBorder.Mid 0 }} -{{ range $index, $line := .DisplayLines }} -{{- $mod := mod $index 2 -}} -{{ index $leftBorder.Mid $mod }}{{ $line }}{{ index $rightBorder.Mid $mod }} -{{ end -}} -{{ $leftBorder.Bottom }}{{ padRightX "" $midBorder.Bottom $mapWidth }}{{ $rightBorder.Bottom }} - Legend - -{{- $counter := 0 -}} -{{- $strlen := 0 -}} -{{ range $symbol, $name := .Legend -}} -{{- $proposedLength := add $strlen 3 (len $name) 1 -}} -{{- if gt $proposedLength $legendWidth -}}{{- $strlen = 0 -}}{{ "\n " }}{{- end -}} - [{{ printf "%c" $symbol }} {{$name}} -{{- $strlen = add $strlen 3 (len $name) 1 -}} -{{- end }} diff --git a/_datafiles/world/empty/templates/maps/secret.template b/_datafiles/world/empty/templates/maps/secret.template deleted file mode 100644 index 2f6724aa..00000000 --- a/_datafiles/world/empty/templates/maps/secret.template +++ /dev/null @@ -1,23 +0,0 @@ -.-=~=-. .:Map for {{ printf "%-53s" . }}.-=~=-. -(__ _)-._.-=-._.-=-._.-=-._.-=-._.-=-._.-=-._.-=-._.-=-._.-=-._.-=-._.-(__ _) -( _ __) ( _ __) -(__ _) (__ _) -(_ ___) (_ ___) -(__ _) (__ _) -( _ __) ( _ __) -(__ _) $──*──*──*──*──* (__ _) -(_ ___) / (_ ___) -(__ _) * (__ _) -( _ __) | ( _ __) -(__ _) * (__ _) -(_ ___) | (_ ___) -(__ _) * (__ _) -( _ __) | ( _ __) -(__ _) * (__ _) -(_ ___) / (_ ___) -(__ _) T (__ _) -( _ __) ( _ __) -(__ _) (__ _) -(_ ___)-._.-=-._.-=-._.-=-._.-=-._.-=-._.-=-._.-=-._.-=-._.-=-._.-=-._.-(_ ___) -`-._.-' `-._.-' - [T Town Square] [* Room] [$ Shop] diff --git a/_datafiles/world/empty/templates/player-despawn.template b/_datafiles/world/empty/templates/player-despawn.template deleted file mode 100644 index 93c8c44c..00000000 --- a/_datafiles/world/empty/templates/player-despawn.template +++ /dev/null @@ -1 +0,0 @@ -Suddenly and without warning spirits and demons reach up through the ground and drag {{ . }} away! diff --git a/_datafiles/world/empty/templates/tables/generic.template b/_datafiles/world/empty/templates/tables/generic.template deleted file mode 100644 index 93ba6fac..00000000 --- a/_datafiles/world/empty/templates/tables/generic.template +++ /dev/null @@ -1,11 +0,0 @@ -{{- $columnWidths := .ColumnWidths -}} -{{- $tableData := . }} -{{- $headers := .Header -}} -{{- $padding := 1 -}} -.: {{ .Title }} -╒{{ range $i, $w := $columnWidths }}{{ repeat "═" $w }}{{ repeat "═" $padding }}{{ repeat "═" $padding }}{{ if ne (sub (len $columnWidths) 1) $i }}╕{{ end }}{{ end }}╕ -{{ range $i, $col := .Header }}│{{ repeat " " $padding }}{{ $tableData.GetHeaderCell $i }}{{ repeat " " $padding }}{{ end }}│ -└{{ range $i, $w := $columnWidths }}{{ repeat "─" $padding }}{{ repeat "─" $w }}{{ repeat "─" $padding }}┘{{ end }} -{{ range $rowIndex, $row := .Rows }} -{{- range $i, $col := $row }}│{{ repeat " " $padding }}{{ $tableData.GetCell $rowIndex $i }}{{ repeat " " $padding }}{{ end }}│ -{{ end }}└{{ range $i, $w := $columnWidths }}{{ repeat "─" $padding }}{{ repeat "─" $w }}{{ repeat "─" $padding }}┘{{ end }} diff --git a/_datafiles/world/empty/templates/tables/lockpicking.template b/_datafiles/world/empty/templates/tables/lockpicking.template deleted file mode 100644 index e53f89a2..00000000 --- a/_datafiles/world/empty/templates/tables/lockpicking.template +++ /dev/null @@ -1,9 +0,0 @@ - -{{ $columnWidths := .ColumnWidths -}} -{{- $tableData := . }} -{{- $padding := 1 -}} -.: {{ .Title }} - ╔{{ range $i, $w := $columnWidths }}{{ repeat "═" $w }}{{ repeat "═" $padding }}{{ repeat "═" $padding }}{{ if ne (sub (len $columnWidths) 1) $i }}╦{{ end }}{{ end }}╗ - {{ range $rowIndex, $row := .Rows }} -{{- range $i, $col := $row }}║{{ repeat " " $padding }}{{ $tableData.GetCell $rowIndex $i }}{{ repeat " " $padding }}{{ end }}║ - {{ end }}╚{{ range $i, $w := $columnWidths }}{{ repeat "═" $padding }}{{ repeat "═" $w }}{{ repeat "═" $padding }}{{ if ne (sub (len $columnWidths) 1) $i }}╩{{ end }}{{ end }}╝ diff --git a/_datafiles/world/empty/templates/tables/numbered-list-doubled.template b/_datafiles/world/empty/templates/tables/numbered-list-doubled.template deleted file mode 100644 index 0ba83352..00000000 --- a/_datafiles/world/empty/templates/tables/numbered-list-doubled.template +++ /dev/null @@ -1,2 +0,0 @@ - -{{ range $idx, $itemInfo := . }} {{ printf "%2d." (add $idx 1) }} {{ if $itemInfo.Marked }}{{else}}{{end}}{{ if $itemInfo.Marked }}*{{ printf "%-32s" $itemInfo.Name }}{{else}}{{ printf "%-33s" $itemInfo.Name }}{{end}}{{ if eq (mod $idx 2) 1 }}{{ printf "\n" }}{{ end }}{{ end }} diff --git a/_datafiles/world/empty/templates/tables/numbered-list.template b/_datafiles/world/empty/templates/tables/numbered-list.template deleted file mode 100644 index 7ed035d4..00000000 --- a/_datafiles/world/empty/templates/tables/numbered-list.template +++ /dev/null @@ -1,3 +0,0 @@ - -{{ range $idx, $itemInfo := . }} {{ printf "%2d." (add $idx 1) }} {{ if $itemInfo.Marked }}{{else}}{{end}}{{ if $itemInfo.Marked }}*{{ printf "%-16s" $itemInfo.Name }}{{else}}{{ printf "%-17s" $itemInfo.Name }}{{end}}{{ if ne $itemInfo.Description "" }} - {{ splitstring $itemInfo.Description 54 " " }}{{ end }} -{{ end }} diff --git a/_datafiles/world/empty/templates/tables/shoplist.screenreader.template b/_datafiles/world/empty/templates/tables/shoplist.screenreader.template deleted file mode 100644 index 4e8ae8bb..00000000 --- a/_datafiles/world/empty/templates/tables/shoplist.screenreader.template +++ /dev/null @@ -1,9 +0,0 @@ - -{{ .Title }} -{{- range $rowIndex, $row := .Rows }} -{{- $name := $.GetCell $rowIndex 1 }} -{{- $qty := $.GetCell $rowIndex 0 }} -{{- $type := $.GetCell $rowIndex 2 }} -{{- $price := $.GetCell $rowIndex 3 }} -{{ $name }} x{{ $qty }} type {{ $type }} costs {{ $price }} -{{- end }} \ No newline at end of file diff --git a/_datafiles/world/empty/templates/tables/shoplist.template b/_datafiles/world/empty/templates/tables/shoplist.template deleted file mode 100644 index 1b07abb7..00000000 --- a/_datafiles/world/empty/templates/tables/shoplist.template +++ /dev/null @@ -1,12 +0,0 @@ - -{{ $columnWidths := .ColumnWidths -}} -{{- $tableData := . }} -{{- $headers := .Header -}} -{{- $padding := 1 -}} -.: {{ .Title }} -╒{{ range $i, $w := $columnWidths }}{{ repeat "═" $w }}{{ repeat "═" $padding }}{{ repeat "═" $padding }}{{ if ne (sub (len $columnWidths) 1) $i }}╕{{ end }}{{ end }}╕ -{{ range $i, $col := .Header }}│{{ repeat " " $padding }}{{ $tableData.GetHeaderCell $i }}{{ repeat " " $padding }}{{ end }}│ -└{{ range $i, $w := $columnWidths }}{{ repeat "─" $padding }}{{ repeat "─" $w }}{{ repeat "─" $padding }}┘{{ end }} -{{ range $rowIndex, $row := .Rows }} -{{- range $i, $col := $row }}│{{ repeat " " $padding }}{{ $tableData.GetCell $rowIndex $i }}{{ repeat " " $padding }}{{ end }}│ -{{ end }}└{{ range $i, $w := $columnWidths }}{{ repeat "─" $padding }}{{ repeat "─" $w }}{{ repeat "─" $padding }}┘{{ end }} \ No newline at end of file diff --git a/_datafiles/world/empty/users/1.yaml b/_datafiles/world/empty/users/1.yaml index 88d4c7c5..278d7878 100755 --- a/_datafiles/world/empty/users/1.yaml +++ b/_datafiles/world/empty/users/1.yaml @@ -1,5 +1,4 @@ userid: 1 -permission: admin role: admin username: admin password: password @@ -8,39 +7,42 @@ macros: =1: e;e;e;e;e;e;e;e character: name: AdminAnt - description: AdminAnt possesses the ability to manipulate the very fabric of - the universe, bending it to his will with a mere thought. He can create and destroy, + description: AdminAnt possesses the ability to manipulate the very fabric of the + universe, bending it to his will with a mere thought. He can create and destroy, alter reality, and shape the world around him as he sees fit. His knowledge of the world is unparalleled, as he has access to its innermost workings and understands - its deepest secrets. With a wave of his hand, AdminAnt can bestow blessings - upon other adventurers, granting them strength, wisdom, or fortune beyond their - wildest dreams. Conversely, he can also mete out justice to those who would seek - to disrupt the balance of the world, swiftly and decisively. + its deepest secrets. With a wave of his hand, AdminAnt can bestow blessings upon + other adventurers, granting them strength, wisdom, or fortune beyond their wildest + dreams. Conversely, he can also mete out justice to those who would seek to disrupt + the balance of the world, swiftly and decisively. + adjectives: + - zombie roomid: 1 - zone: Frostfang - raceid: 2 + zone: Startland + raceid: 1 stats: strength: training: 6 + base: 1 speed: training: 28 - base: 1 smarts: training: 1 base: 1 vitality: training: 5 + base: 1 mysticism: training: 1 - base: 2 perception: training: 2 + base: 1 level: 5 experience: 17470 trainingpoints: 44 statpoints: 6 - health: 60 - mana: 32 + health: 44 + mana: 20 actionpoints: 202 alignment: -1 gold: 9950 @@ -57,28 +59,14 @@ character: - itemid: 30002 uses: 1 - itemid: 10012 - buffs: - list: - - buffid: 28 - onstartevent: true - permabuff: true - roundcounter: 9 - triggersleft: 1000000000 - - buffid: 29 - onstartevent: true - permabuff: true - roundcounter: 32 - triggersleft: 1000000000 - - buffid: 39 - onstartevent: false - permabuff: true - roundcounter: 6 - triggersleft: 1000000000 equipment: weapon: itemid: 10004 offhand: itemid: 20004 + head: {} + neck: {} + body: {} belt: itemid: 20011 gloves: @@ -86,6 +74,8 @@ character: ring: itemid: 20015 uncursed: true + legs: {} + feet: {} skills: brawling: 4 cast: 4 diff --git a/internal/flags/flags.go b/internal/flags/flags.go index ca191ade..f1ee359c 100644 --- a/internal/flags/flags.go +++ b/internal/flags/flags.go @@ -9,15 +9,20 @@ import ( "strings" "github.com/GoMudEngine/GoMud/internal/mudlog" + "github.com/GoMudEngine/GoMud/internal/worldcli" ) func HandleFlags(serverVersion string) { var portsearch string var showVersion bool + var createWorld bool + var listWorlds bool flag.StringVar(&portsearch, "port-search", "", "Search for the first 10 open ports: -port-search=30000-40000") flag.BoolVar(&showVersion, "version", false, "Display the current binary version") + flag.BoolVar(&createWorld, "create-world", false, "Create a new world from the empty template") + flag.BoolVar(&listWorlds, "list-worlds", false, "List all available worlds") flag.Parse() @@ -30,6 +35,16 @@ func HandleFlags(serverVersion string) { doPortSearch(portsearch) os.Exit(0) } + + if listWorlds { + worldcli.ListWorlds() + os.Exit(0) + } + + if createWorld { + worldcli.CreateWorld() + os.Exit(0) + } } func doPortSearch(portRangeStr string) { @@ -74,3 +89,5 @@ func isPortInUse(port int) bool { ln.Close() return false } + + diff --git a/internal/templates/templates.go b/internal/templates/templates.go index ab1c3cf2..1c6bc942 100644 --- a/internal/templates/templates.go +++ b/internal/templates/templates.go @@ -5,6 +5,7 @@ import ( "fmt" "io/fs" "os" + "path/filepath" "strconv" "strings" "sync" @@ -87,11 +88,25 @@ func Exists(name string) bool { } } + datafilesPath := string(configs.GetFilePathsConfig().DataFiles) + // Now check datafiles - var fullPath string = util.FilePath(string(configs.GetFilePathsConfig().DataFiles), `/`, path) - _, err := os.Stat(fullPath) + var fullPath string = util.FilePath(datafilesPath, `/`, path) + + if _, err := os.Stat(fullPath); err == nil { + return true + } + + if !strings.HasSuffix(datafilesPath, `default`) { + // try with the last folder name replaced with "default": + fullPath = util.FilePath(filepath.Dir(datafilesPath), `/`, `default`, `/`, path) + + if _, err := os.Stat(fullPath); err == nil { + return true + } + } - return err == nil + return false } // Configure a forced ansi flag setting @@ -213,13 +228,30 @@ func Process(fname string, data any, receivingUserId ...int) (string, error) { // // nothing able to load from the plugin files, lets try the normal filesystem. // + datafilesPath := string(configs.GetFilePathsConfig().DataFiles) - fullPath := util.FilePath(string(configs.GetFilePathsConfig().DataFiles), `/`, tplInfo.path) + fullPath := util.FilePath(datafilesPath, `/`, tplInfo.path) + + var fileContents []byte + var err error // Get the file contents - fileContents, err := os.ReadFile(fullPath) + fileContents, err = os.ReadFile(fullPath) if err != nil { - continue + + // Check the failover (default) if not already default + if !strings.HasSuffix(datafilesPath, `default`) { + // try with the last folder name replaced with "default": + fullPath = util.FilePath(filepath.Dir(datafilesPath), `/`, `default`, `/`, tplInfo.path) + fileContents, err = os.ReadFile(fullPath) + + if err != nil { + continue + } + } else { + continue + } + } // parse the file contents as a template diff --git a/internal/worldcli/worldcli.go b/internal/worldcli/worldcli.go new file mode 100644 index 00000000..f64c15c1 --- /dev/null +++ b/internal/worldcli/worldcli.go @@ -0,0 +1,238 @@ +package worldcli + +import ( + "bufio" + "fmt" + "io" + "os" + "path/filepath" + "regexp" + "strings" + + "github.com/GoMudEngine/GoMud/internal/mudlog" +) + +func CreateWorld() { + fmt.Println("GoMud World Creator") + fmt.Println("==================") + fmt.Println() + fmt.Println("This will create a new world based on the 'empty' template and") + fmt.Println("update your configuration to use the new world.") + fmt.Println() + + reader := bufio.NewReader(os.Stdin) + fmt.Print("Enter the name for your new world: ") + worldName, err := reader.ReadString('\n') + if err != nil { + mudlog.Error("World Creation", "error", "Failed to read input: "+err.Error()) + return + } + + worldName = strings.TrimSpace(worldName) + if worldName == "" { + mudlog.Error("World Creation", "error", "World name cannot be empty") + return + } + + folderName := sanitizeWorldName(worldName) + if folderName == "" { + mudlog.Error("World Creation", "error", "Invalid world name (reserved names: 'default', 'empty')") + return + } + + worldPath := filepath.Join("_datafiles", "world", folderName) + if _, err := os.Stat(worldPath); err == nil { + mudlog.Error("World Creation", "error", "World folder already exists: "+worldPath) + return + } + + fmt.Println() + fmt.Printf("World Name: %s\n", worldName) + fmt.Printf("Folder Name: %s\n", folderName) + fmt.Printf("World Path: %s\n", worldPath) + fmt.Println() + fmt.Print("Create this world? (y/N): ") + confirm, err := reader.ReadString('\n') + if err != nil { + mudlog.Error("World Creation", "error", "Failed to read confirmation: "+err.Error()) + return + } + + confirm = strings.ToLower(strings.TrimSpace(confirm)) + if confirm != "y" && confirm != "yes" { + fmt.Println("World creation cancelled.") + return + } + + fmt.Printf("\nCreating world '%s'...\n", worldName) + + emptyWorldPath := filepath.Join("_datafiles", "world", "empty") + if _, err := os.Stat(emptyWorldPath); err != nil { + mudlog.Error("World Creation", "error", "Empty world template not found: "+emptyWorldPath) + return + } + + if err := copyDir(emptyWorldPath, worldPath); err != nil { + mudlog.Error("World Creation", "error", "Failed to copy world template: "+err.Error()) + return + } + + if err := updateConfigForNewWorld(folderName); err != nil { + mudlog.Error("World Creation", "error", "Failed to update config: "+err.Error()) + os.RemoveAll(worldPath) + return + } + + fmt.Println() + fmt.Printf("✓ World '%s' created successfully!\n", worldName) + fmt.Printf("✓ World files copied to: %s\n", worldPath) + fmt.Printf("✓ Configuration updated to use new world\n") + fmt.Println() + fmt.Println("You can now start the server to begin building your world.") + fmt.Println("Use the in-game building commands to create rooms, items, and NPCs.") +} + +func ListWorlds() { + fmt.Println("Available GoMud Worlds") + fmt.Println("=====================") + fmt.Println() + + worldsPath := filepath.Join("_datafiles", "world") + entries, err := os.ReadDir(worldsPath) + if err != nil { + mudlog.Error("List Worlds", "error", "Failed to read worlds directory: "+err.Error()) + return + } + + currentWorld := getCurrentWorldFromConfig() + + var worlds []string + for _, entry := range entries { + if entry.IsDir() { + worlds = append(worlds, entry.Name()) + } + } + + if len(worlds) == 0 { + fmt.Println("No worlds found.") + return + } + + for _, world := range worlds { + if world == currentWorld { + fmt.Printf("* %s (currently active)\n", world) + } else { + fmt.Printf(" %s\n", world) + } + } + + fmt.Println() + fmt.Printf("Total worlds: %d\n", len(worlds)) + fmt.Println() + fmt.Println("To switch to a different world, update the DataFiles path in _datafiles/config.yaml") + fmt.Println("or use the --create-world flag to create a new world.") +} + +func sanitizeWorldName(name string) string { + name = strings.ToLower(name) + reg := regexp.MustCompile(`[^a-z0-9]+`) + name = reg.ReplaceAllString(name, "_") + name = strings.Trim(name, "_") + name = regexp.MustCompile(`_+`).ReplaceAllString(name, "_") + + if name == "" || name == "default" || name == "empty" { + return "" + } + + return name +} + +func copyDir(src, dst string) error { + srcInfo, err := os.Stat(src) + if err != nil { + return err + } + + if err := os.MkdirAll(dst, srcInfo.Mode()); err != nil { + return err + } + + entries, err := os.ReadDir(src) + if err != nil { + return err + } + + for _, entry := range entries { + srcPath := filepath.Join(src, entry.Name()) + dstPath := filepath.Join(dst, entry.Name()) + + if entry.IsDir() { + if err := copyDir(srcPath, dstPath); err != nil { + return err + } + } else { + if err := copyFile(srcPath, dstPath); err != nil { + return err + } + } + } + + return nil +} + +func copyFile(src, dst string) error { + srcFile, err := os.Open(src) + if err != nil { + return err + } + defer srcFile.Close() + + dstFile, err := os.Create(dst) + if err != nil { + return err + } + defer dstFile.Close() + + _, err = io.Copy(dstFile, srcFile) + return err +} + +func updateConfigForNewWorld(worldFolderName string) error { + configPath := filepath.Join("_datafiles", "config.yaml") + + configData, err := os.ReadFile(configPath) + if err != nil { + return fmt.Errorf("failed to read config file: %w", err) + } + + configText := string(configData) + newWorldPath := fmt.Sprintf("_datafiles/world/%s", worldFolderName) + + dataFilesRegex := regexp.MustCompile(`(\s*DataFiles:\s*)_datafiles/world/[^\s]+`) + configText = dataFilesRegex.ReplaceAllString(configText, "${1}"+newWorldPath) + + langPathRegex := regexp.MustCompile(`(\s*LanguagePaths:\s*\n\s*-\s*'_datafiles/localize'\s*\n\s*-\s*)'_datafiles/world/[^/]+/localize'`) + configText = langPathRegex.ReplaceAllString(configText, "${1}'"+newWorldPath+"/localize'") + + if err := os.WriteFile(configPath, []byte(configText), 0644); err != nil { + return fmt.Errorf("failed to write updated config: %w", err) + } + + return nil +} + +func getCurrentWorldFromConfig() string { + configPath := filepath.Join("_datafiles", "config.yaml") + configData, err := os.ReadFile(configPath) + if err != nil { + return "unknown" + } + + dataFilesRegex := regexp.MustCompile(`DataFiles:\s*_datafiles/world/([^\s]+)`) + matches := dataFilesRegex.FindStringSubmatch(string(configData)) + if len(matches) > 1 { + return matches[1] + } + + return "unknown" +} \ No newline at end of file