replicating monster #136
Aliases: replicating monster, monster
2 verbs · 54 properties · 1 children
Verbs
| Verb | Spec | Flags | Definer | Lines |
|---|---|---|---|---|
rot_away | this none this | rxd | #136 | 20 |
init_for_core | this none this | rxd | #136 | 14 |
Properties
| Property | Definer | Flags | Owner | Value |
|---|---|---|---|---|
child_limit | #136 | rc | #36 | 10 |
lifespan | #136 | rc | #36 | 10800 |
plural_name | #136 | rc | #36 | "monsters" |
home | #107 | rc | #36 | #62 |
grave | #107 | rc | #36 | #138 |
rot_time | #107 | rc | #36 | <clear> |
gestate | #107 | rc | #36 | <clear> |
birth_msg | #107 | rc | #36 | <clear> |
weapon_types | #107 | rc | #36 | <clear> |
wander_task | #107 | r | #36 | <clear> |
wait_seconds | #107 | rc | #36 | <clear> |
terrain_only | #107 | rc | #36 | <clear> |
enemy | #107 | r | #36 | <clear> |
hostility | #107 | rc | #36 | <clear> |
death_msg | #107 | rc | #36 | <clear> |
alert | #107 | r | #36 | <clear> |
mobile | #107 | r | #36 | <clear> |
alive | #107 | r | #36 | <clear> |
wielded | #107 | rc | #36 | #111 |
natural_def | #107 | rc | #36 | <clear> |
greedy | #107 | rc | #36 | <clear> |
edible | #107 | rc | #36 | <clear> |
wander_ok | #107 | r | #36 | <clear> |
my_tell | #107 | rwc | #36 | <clear> |
following | #107 | r | #36 | <clear> |
followed_by | #107 | r | #36 | <clear> |
countdown_til_stop | #107 | r | #36 | <clear> |
stats | #107 | r | #36 | <clear> |
stats_current | #107 | r | #36 | <clear> |
skills | #107 | r | #36 | <clear> |
money | #107 | r | #36 | <clear> |
gender | #94 | rc | #36 | <clear> |
pqc | #94 | rc | #36 | <clear> |
pq | #94 | rc | #36 | <clear> |
ppc | #94 | rc | #36 | <clear> |
pp | #94 | rc | #36 | <clear> |
prc | #94 | rc | #36 | <clear> |
pr | #94 | rc | #36 | <clear> |
poc | #94 | rc | #36 | <clear> |
po | #94 | rc | #36 | <clear> |
psc | #94 | rc | #36 | <clear> |
ps | #94 | rc | #36 | <clear> |
value_base | #102 | r | #2 | <clear> |
damage_base | #102 | r | #2 | <clear> |
x_loc | #102 | r | #36 | <clear> |
y_loc | #102 | r | #36 | <clear> |
ansi_title | #102 | r | #36 | <clear> |
obvious | #102 | r | #36 | <clear> |
build_help | #102 | rc | #36 | list of 7{"-------------------------", " PROPS TO @SET", "----------------", "child_limit how many of this generic type can be replicated.", "lifespan how many seconds until recycling.", "plural_name in case more than one appears in the same room.", "grave to the appropriate breeder object, in case the parent monster's 'die' verb gets accidentally triggered."} |
key | #1 | c | #36 | 0 |
aliases | #1 | rc | #36 | {"replicating monster", "monster"} |
description | #1 | rc | #36 | <clear> |
object_size | #1 | r | #36 | {3282, -1090650497} |
html | #1 | rc | #36 | <clear> |
Ancestry
Ancestors (nearest first): #107 generic monster → #94 Generic Gendered Object → #102 subthing → #1 Root Class
Children: #162 a fob goblin
Call graph
Source
rot_away
Referenced by
none
Source
1"Recycles if not fertile."; 2"wiz perms"; 3this.location:announce_all("The corpse of ", this:title(), " dissolves quickly."); 4this:dump_goodies(1); 5if (this.f) 6move(this, this.grave); 7this.location:announce_all_but({this}, this:titlec(), " has arrived."); 8if (this.gestate > 120) 9$scheduler:schedule(this.gestate, this, "birth"); 10else 11fork (this.gestate) 12this:birth(); 13endfork 14endif 15else 16if ($scheduler:valid_task(this.wander_task)) 17$scheduler:kill_task(this.wander_task); 18endif 19$recycler:_recycle(this); 20endif
init_for_core
Referenced by
none
Source
1if (caller_perms().wizard) 2if (this == $replicating_monster) 3this.child_limit = 10; 4this.lifespan = 10800; 5this.plural_name = "monsters"; 6else 7for p in (properties($replicating_monster)) 8if ((!p) in {"build_help", "help_msg"}) 9clear_property(this, p); 10endif 11endfor 12endif 13return pass(@args); 14endif