smoke.c
ds2.1.1/lib/lib/events/smoke.c · 681 B
From the archive ds2.1.1.zip
Download the archive « Back to the archive contents
int eventTurnOn(object ob){
return 1;
}
int eventTurnOff(object ob){
return 1;
}
mixed CanTurn(object who) {
return 1;
}
mixed CanTurnOn(object who) {
return 1;
}
mixed CanTurnOff(object who) {
return 1;
}
int eventTurn(object who) {
if(!who) who = this_player();
// send_messages("turn", "$agent_name $agent_verb $target_name.",
// who, this_object(), environment(who));
return 1;
}
int direct_turn_obj(object target) {
return CanTurn(this_player());
}
int direct_turn_on_obj(object target){
return CanTurnOn(this_player());
}
int direct_turn_off_obj(object target){
return CanTurnOff(this_player());
}