home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Plugin: Don't count felling non-trees as blasphemic.
[plomrogue]
/
plugins
/
server
/
PleaseTheIslandGod.py
diff --git
a/plugins/server/PleaseTheIslandGod.py
b/plugins/server/PleaseTheIslandGod.py
index 59fbefcfa06b242d802120147c838694a5e84ae8..fba1341d180fd8e648478f19260bba7cad48022f 100644
(file)
--- a/
plugins/server/PleaseTheIslandGod.py
+++ b/
plugins/server/PleaseTheIslandGod.py
@@
-462,7
+462,8
@@
def actor_move(t):
0 == int(rand.next() / (3 * chop_power))))):
if t == world_db["Things"][0]:
log("You chop it DOWN.")
0 == int(rand.next() / (3 * chop_power))))):
if t == world_db["Things"][0]:
log("You chop it DOWN.")
- world_db["GOD_FAVOR"] -= 10
+ if ord("X") == world_db["MAP"][pos]:
+ world_db["GOD_FAVOR"] -= 10
world_db["MAP"][pos] = ord(".")
i = 3 if case_X else 1
for i in range(i):
world_db["MAP"][pos] = ord(".")
i = 3 if case_X else 1
for i in range(i):