summaryrefslogtreecommitdiff
path: root/example/scripts/npcs
diff options
context:
space:
mode:
Diffstat (limited to 'example/scripts/npcs')
-rw-r--r--example/scripts/npcs/postman.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/scripts/npcs/postman.lua b/example/scripts/npcs/postman.lua
index 46802283..2ad2e3ce 100644
--- a/example/scripts/npcs/postman.lua
+++ b/example/scripts/npcs/postman.lua
@@ -12,7 +12,7 @@
function post_talk(npc, ch)
say("Hello " .. ch:name())
- local strength = being_get_attribute(ch, ATTR_STRENGTH)
+ local strength = being_get_attribute(ch, "Strength"ENGTH)
say("You have " .. tostring(strength) .. " strength")
say("What would you like to do?")
local answer = ask("View Mail", "Send Mail", "Nothing")