X-Git-Url: https://plomlompom.com/repos/?p=plomrogue;a=blobdiff_plain;f=server%2Factions.py;h=ee68866b000dfb238b7c5debd0976d95ad42c85f;hp=7f1f657452ea00a30a044c783b868f34593ac24a;hb=9ae02cea8243472195d97b756542f9d344a67459;hpb=c29d6ff72609528521634104c636658325a07796 diff --git a/server/actions.py b/server/actions.py index 7f1f657..ee68866 100644 --- a/server/actions.py +++ b/server/actions.py @@ -101,5 +101,6 @@ def actor_use(t): t["T_SATIATION"] += world_db["ThingTypes"][type]["TT_TOOLPOWER"] if t == world_db["Things"][0]: log("You CONSUME this thing.") - elif t == world_db["Things"][0]: - log("You try to use this object, but FAIL.") + else: + from server.config.actions import actor_use_attempts_hook + actor_use_attempts_hook(t, type)