Auswertung von P_EXTRA_LOOK optimiert.
Nicht mehr alle Objekte im Inventar pruefen, sondern wenn ein Objekt in
das Living bewegt wird schauen, ob P_EXTRA_LOOK gesetzt ist und in ein
Array eintragen, welches dann von long() ausgewertet wird.
Change-Id: I1fefa021dee06c3d3006d6130b5a9069b76d3dd6
diff --git a/std/npc.c b/std/npc.c
index f612f1e..a6d9ce6 100644
--- a/std/npc.c
+++ b/std/npc.c
@@ -169,6 +169,19 @@
_clone_items();
}
+public void NotifyInsert(object ob, object oldenv)
+{
+ restrictions::NotifyInsert(ob,oldenv);
+ description::NotifyInsert(ob,oldenv);
+}
+
+public void NotifyLeave(object ob, object dest)
+{
+ restrictions::NotifyLeave(ob,dest);
+ description::NotifyLeave(ob,dest);
+}
+
+
string _query_race()
{
if (stringp(Query(P_RACE))) return capitalize(Query(P_RACE));