Script Examples #181

Parent #9Owner #2Flags Source QuestCore.db

Aliases: Script Examples

0 verbs · 22 properties · 0 children

Verbs

none

Properties

PropertyDefinerFlagsOwnerValue
writers#9rc#2<clear>
encryption_key#9c#2<clear>
text#9c#2
list of 55{"EXAMPLE SCRIPTS FOR WEAPONS, ARMOR AND MONSTERS", "", "These can be read using the @script command.", "", "You can also set the 'Knowledge' for each of these by typing '@kgen <#obj>' which will be seen by players using Knowledge spells or programmers using the '@seek' command.", "", "WEAPON EXAMPLE", "", "@create $weapon named Scimitar", "@desc scimitar as \"The scimitar is a curved, lightweight metal blade for better handling. [Dmg. Base 10.0]\"", "@set scimitar.shoots to 0", "@set scimitar.usage_verbage to \" %<swings> %p %D at \"", "@set scimitar.can_stun to 1", "@set scimitar.can_paralyse to 0", "@set scimitar.damage_base to 10.0", "@set scimitar.value_base to 200.0", "@chmod scimitar rf", "", "ARMOR EXAMPLE", "", "@create $clothing named Leather Armor", "@desc leather as \"This is a full suit of coarse, black leather armor. [Armor 3.5]\"", "@set leather.armor to 3.5", "@set leather.cursed to 0", "@set leather.body_area to \"torso\"", "@set leather.value_base to 35.0", "@chmod leather rf", "", "MONSTER EXAMPLE", "", "@create $monster named Goblin", "@desc goblin as You see a small, slender creature wearing tattered clothing. Its face looks almost human.", "@str goblin is 8.8", "@dex goblin is 8.3", "@int goblin is 3.2", "@hea goblin is 11.0", "@com goblin is 1.6", "@set goblin.exp to 12", "@set goblin.home to #191", "@set goblin.rot_time to 18", "@set goblin.gestate to 400", "@set goblin.wait_seconds to 200", "@set goblin.birth_msg to \"A %N is approaching!\"", "@set goblin.death_msg to \"The %N growls and falls dead!\"", "@set goblin.greedy to 1", "@set goblin.edible to 0", "@set goblin.eat_heal to 0.0", "@set goblin.natural_def to 1", "@set goblin.magic_immunity to 0", "@set goblin.hostility to 3", "@set goblin.weapon_types to {#150, #159, #160, #161}", "@set goblin.wander_ok to 1", "@set goblin.startmoney to {{\"gold\", 10.0}}", "@set goblin.money to {{\"gold\", 10.0}}", "@chmod goblin rf"}
drop_failed_msg#5rc#2<clear>
drop_succeeded_msg#5rc#2<clear>
odrop_failed_msg#5rc#2<clear>
odrop_succeeded_msg#5rc#2<clear>
otake_succeeded_msg#5rc#2<clear>
otake_failed_msg#5rc#2<clear>
take_succeeded_msg#5rc#2<clear>
take_failed_msg#5rc#2<clear>
value_base#102r#2<clear>
damage_base#102r#2<clear>
x_loc#102r#36<clear>
y_loc#102r#36<clear>
ansi_title#102r#36<clear>
obvious#102r#36<clear>
build_help#102rc#2<clear>
key#1c#20
aliases#1rc#2{"Script Examples"}
description#1rc#2<clear>
object_size#1r#36{0, 0}

Ancestry

Ancestors (nearest first): #9 generic note#5 generic thing#102 subthing#1 Root Class

Children: none

Source