generic living creature #154
Aliases: generic living creature
4 verbs · 89 properties · 2 children
Verbs
| Verb | Spec | Flags | Definer | Lines |
|---|---|---|---|---|
popmon | this none this | rxd | #154 | 55 |
feed | none out of/from inside/from this | rxd | #154 | 15 |
floats | this none this | rxd | #154 | 9 |
scam | this none none | rxd | #154 | 1 |
Properties
| Property | Definer | Flags | Owner | Value |
|---|---|---|---|---|
hands | #107 | rc | #361 | <clear> |
wielding | #107 | rc | #361 | <clear> |
health | #107 | rc | #361 | 20 |
unarmed_weapon | #107 | rc | #361 | <clear> |
size | #107 | rc | #361 | <clear> |
posture | #107 | rc | #361 | <clear> |
gender | #107 | rc | #361 | <clear> |
respawn | #107 | rc | #361 | <clear> |
corpse | #107 | rc | #361 | <clear> |
has_proper_name | #107 | rc | #361 | <clear> |
die_msg | #107 | rc | #361 | <clear> |
body_parts | #107 | rc | #361 | <clear> |
wearing | #107 | rc | #361 | <clear> |
armor | #107 | rc | #361 | <clear> |
last_swing_message | #107 | rc | #361 | <clear> |
health_max | #107 | rc | #361 | <clear> |
fighting | #107 | rc | #361 | {} |
last_dodge_time | #107 | rc | #361 | <clear> |
following | #107 | rc | #361 | <clear> |
icon | #107 | rc | #361 | <clear> |
say_msg | #107 | rc | #361 | <clear> |
say_to_msg | #107 | rc | #361 | <clear> |
afterlife | #107 | rc | #361 | <clear> |
get_msg | #107 | rc | #361 | <clear> |
drop_msg | #107 | rc | #361 | <clear> |
blood | #107 | rc | #361 | {} |
squeals | #107 | rc | #361 | <clear> |
prc | #107 | rc | #361 | <clear> |
ppc | #107 | rc | #361 | <clear> |
poc | #107 | rc | #361 | <clear> |
psc | #107 | rc | #361 | <clear> |
pr | #107 | rc | #361 | <clear> |
pp | #107 | rc | #361 | <clear> |
po | #107 | rc | #361 | <clear> |
ps | #107 | rc | #361 | <clear> |
pq | #107 | rc | #361 | <clear> |
pqc | #107 | rc | #361 | <clear> |
brief | #107 | rc | #361 | <clear> |
knockout | #107 | rc | #361 | <clear> |
knockout_msg | #107 | rc | #361 | <clear> |
body | #107 | rc | #361 | #-1 |
wake_msg | #107 | rc | #361 | <clear> |
owake_msg | #107 | rc | #361 | <clear> |
oknockout_msg | #107 | rc | #361 | <clear> |
friends | #107 | rc | #361 | <clear> |
home | #107 | rc | #361 | <clear> |
respawn_msg | #107 | rc | #361 | <clear> |
move_action | #107 | rc | #361 | <clear> |
heart | #107 | rc | #361 | -1 |
last_heartbeat | #107 | rc | #361 | 1086426779 |
dead | #107 | rc | #361 | <clear> |
_tohit_next | #107 | rc | #361 | <clear> |
last_words_msg | #107 | rc | #361 | <clear> |
attacked | #107 | rc | #361 | <clear> |
opens_doors | #107 | rc | #361 | <clear> |
movable_by_explosion | #107 | rc | #361 | <clear> |
obscured | #107 | rc | #361 | <clear> |
obscured_desc_msg | #107 | rc | #361 | <clear> |
cooldowns | #107 | rc | #361 | <clear> |
combat_rounds | #107 | rc | #361 | <clear> |
encumbrance | #107 | rc | #361 | <clear> |
respawn_handler | #107 | rc | #361 | <clear> |
distant_form_msg | #107 | rc | #361 | <clear> |
block_msg | #107 | rc | #361 | <clear> |
attack_on_block | #107 | rc | #361 | <clear> |
last_stunned | #107 | rc | #361 | <clear> |
nude_descs | #107 | rc | #361 | <clear> |
skills | #107 | rc | #361 | <clear> |
explode_msg | #107 | rc | #361 | <clear> |
death_listeners | #107 | rc | #361 | <clear> |
queue | #92 | r | #361 | <clear> |
preemptible | #92 | r | #361 | <clear> |
executing | #92 | r | #361 | {} |
process_queue | #92 | r | #361 | <clear> |
help_msg | #92 | rc | #361 | <clear> |
last_action | #92 | r | #361 | <clear> |
article | #92 | rc | #361 | <clear> |
last_last_action | #92 | rc | #361 | <clear> |
action_count | #92 | rc | #361 | <clear> |
aliases | #1 | rc | #361 | {"generic living creature"} |
description | #1 | rc | #361 | <clear> |
object_size | #1 | r | #29 | {8679, 1298433880} |
hidden_verbs | #1 | rc | #361 | <clear> |
phelp_msg | #1 | rc | #361 | <clear> |
weight | #1 | rc | #361 | <clear> |
owner_verbs | #1 | rc | #361 | <clear> |
plural_name | #1 | rc | #361 | <clear> |
client_image | #1 | rc | #361 | <clear> |
listening | #1 | rc | #361 | <clear> |
Ancestry
Ancestors (nearest first): #107 generic creature → #92 generic actor → #1 root
Children: #100 generic RPG player, #106 generic NPC
Call graph
Source
popmon
Referenced by
- #3:emote line 13:
player:popmon - #3:emote line 15:
player:popmon - #3:emote line 17:
player:popmon - #3:emote line 19:
player:popmon - #3:emote line 21:
player:popmon
Source
1"Copied from Obvious (#45302):popmon Tue Sep 12 11:31:26 2006 PDT"; 2"Copied from generic programmer (#58):popmon by Dej (#45097) Tue Sep 12 10:27:12 2006 PDT"; 3surprise = args[1]; 4facelist = this:wearing_on(#16379); 5drink = #-1; 6if (facelist) 7mon = facelist[1]; 8if (mon.name == "monocle") 9for w in (this.wielding) 10if (is_a(w, #1133)) 11drink = w; 12endif 13endfor 14fork (1) 15if (surprise == -1) 16this:aat(this:dnamec(), "'s ", mon.name, " spins in place."); 17return; 18endif 19if (surprise == 4) 20this:aat(this:dnamec(), "'s ", mon.name, " shatters!"); 21$rpg:junk(mon); 22this:take_damage($damages.stabbing, 1, $bodyparts.face); 23return; 24endif 25if (surprise == 1) 26this:aat(this:dnamec(), "'s ", mon.name, " pops out!"); 27this.wearing = setremove(this.wearing, mon); 28if (burninators = player.location:occupants(#113546)) 29b = burninators[random($)]; 30this:aat(mon:dnamec(), " ricochets off of the ", b.name, "."); 31b:print_flag(); 32endif 33if (valid(drink)) 34mon:moveto(drink); 35this:aat(mon:dnamec(), " splashes into ", this.name, "'s ", drink.name, "."); 36else 37mon:moveto(this.location); 38endif 39else 40exits = this.location:exits(); 41exit = exits[random($)]; 42if (valid(dest = exit:throws_to(mon, this))) 43this:aat(this:dnamec(), "'s ", mon.name, " pops out and flies off to the ", exit.name, "!"); 44dest:announce_all($su:ps(exit.otherside.throw_through_msg, this, mon, exit.otherside)); 45this.wearing = setremove(this.wearing, mon); 46mon:moveto(dest); 47else 48this:aat(this:dnamec(), "'s ", mon.name, " pops out and flies halfway across the room!"); 49this.wearing = setremove(this.wearing, mon); 50mon:moveto(this.location); 51endif 52endif 53endfork 54endif 55endif
feed
Referenced by
none
Source
1if (`player.location.no_combat ! ANY => 0') 2player:tell("For whatever reason, this just doesn't seem like the place for it."); 3return; 4endif 5if (!#69007:doses_for(player)) 6player:tell("You don't really feel like drinking ", this.name, "'s blood. Yuck."); 7elseif (player == this) 8player:tell("You twist around, trying to bite your own neck. You can't seem to do it."); 9elseif (!is_a(this.bloodstain, #3611)) 10player:tell(this.name, " doesn't have any blood to suck."); 11elseif (!this:_allows("suck", player)) 12player:tell("You don't think ", this:dname(), " is going to let you drink ", this.pp, " blood. Maybe if you ask nicely?"); 13else 14player:queue_action($actions.feedfrom, {this}, 1, "feed from " + this.name); 15endif
floats
Referenced by
none
Source
1"Copied from generic creature (#109):floats by Gilmore (#98) Sat Jun 27 05:16:29 2009 CDT"; 2for x in (this.wearing) 3if (is_a(x, #4568)) 4return 1; 5endif 6endfor 7if (this.executing && (this.executing[1] == $actions.climb)) 8return 1; 9endif
scam
Referenced by
none
Source
1player:tell("You don't think ", this:dname(), " will fall for it.");