home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
TCE: Halve number of altars.
[plomrogue]
/
plugins
/
server
/
TheCrawlingEater.py
diff --git
a/plugins/server/TheCrawlingEater.py
b/plugins/server/TheCrawlingEater.py
index 850094ddb1c53608fa0e8630bffe8a8dc3b41110..887cdf5811045c1ebeedc2ece2f4853bc4934f14 100644
(file)
--- a/
plugins/server/TheCrawlingEater.py
+++ b/
plugins/server/TheCrawlingEater.py
@@
-254,12
+254,16
@@
def actor_move(t):
world_db["soundmap"][t["pos"]] = ord("9")
if t == world_db["Things"][0] and world_db["MAP"][t["pos"]] == ord("$"):
world_db["MAP"][t["pos"]] = ord("0")
world_db["soundmap"][t["pos"]] = ord("9")
if t == world_db["Things"][0] and world_db["MAP"][t["pos"]] == ord("$"):
world_db["MAP"][t["pos"]] = ord("0")
- if world_db["GRACE"]
< 8
:
+ if world_db["GRACE"]
== 0
:
log("You can now eat ALL walls.")
log("You can now eat ALL walls.")
-
if world_db["GRACE"] < 16
:
+
elif world_db["GRACE"] == 8
:
log("You now have the DEATH touch.")
log("You now have the DEATH touch.")
-
if world_db["GRACE"] < 24
:
+
elif world_db["GRACE"] == 16
:
log("You will now LEVITATE over holes.")
log("You will now LEVITATE over holes.")
+ elif world_db["GRACE"] == 24:
+ log("You are now READY to fly through the exit portal.")
+ elif world_db["GRACE"] == 32:
+ log("You already have all the GRACE you can get.")
if world_db["GRACE"] <= 24:
world_db["GRACE"] += 8
elif t == world_db["Things"][0]:
if world_db["GRACE"] <= 24:
world_db["GRACE"] += 8
elif t == world_db["Things"][0]:
@@
-336,7
+340,7
@@
def make_map():
ord("0") == world_db["wetmap"][pos]:
world_db["wetmap"][pos] = ord("3")
i_water += 1
ord("0") == world_db["wetmap"][pos]:
world_db["wetmap"][pos] = ord("3")
i_water += 1
- n_altars =
4
+ n_altars =
8
i_altars = 0
while (i_altars < n_altars):
y, x, pos = new_pos()
i_altars = 0
while (i_altars < n_altars):
y, x, pos = new_pos()
@@
-818,7
+822,7
@@
def ai(t):
world_db["terrain_fullness"](t["pos"]) <= 3:
t["T_COMMAND"] = thing_action_id("drop")
return
world_db["terrain_fullness"](t["pos"]) <= 3:
t["T_COMMAND"] = thing_action_id("drop")
return
- elif world_db["get_dir_to_target"](t, "crack"):
+ elif world_db["get_dir_to_target"](t, "crack")
[0]
:
return
if need[0] in {"fluid_certain", "fluid_potential"}:
if standing_on_fluid(t):
return
if need[0] in {"fluid_certain", "fluid_potential"}:
if standing_on_fluid(t):