- elif terrain == ord("~"):
- world_db["MAP"][t["pos"]] = ord("L")
- elif terrain == ord("L"):
- world_db["MAP"][t["pos"]] = ord("L") + 3
- elif terrain == ord("."):
- world_db["MAP"][t["pos"]] = ord("J")
- elif terrain == ord("J"):
- world_db["MAP"][t["pos"]] = ord("J") + 3
- elif terrain == ord("J") + 3:
- world_db["MAP"][t["pos"]] = ord("J") + 6
- elif terrain == ord(":"):
- world_db["MAP"][t["pos"]] = ord("K")
- elif terrain == ord("K"):
- world_db["MAP"][t["pos"]] = ord("K") + 3
- elif terrain == ord("K") + 3:
- world_db["MAP"][t["pos"]] = ord("K") + 6
- elif terrain == ord("%"):
- world_db["MAP"][t["pos"]] = ord("A")
- elif terrain == ord("A"):
- world_db["MAP"][t["pos"]] = ord("A") + 3
- elif terrain == ord("A") + 3:
- world_db["MAP"][t["pos"]] = ord("A") + 6
- elif terrain == ord("#"):
- world_db["MAP"][t["pos"]] = ord("B")
- elif terrain == ord("B"):
- world_db["MAP"][t["pos"]] = ord("B") + 3
- elif terrain == ord("B") + 3:
- world_db["MAP"][t["pos"]] = ord("B") + 6
- elif terrain == ord("X"):
- world_db["MAP"][t["pos"]] = ord("C")
- elif terrain == ord("C"):
- world_db["MAP"][t["pos"]] = ord("C") + 3
- elif terrain == ord("C") + 3:
- world_db["MAP"][t["pos"]] = ord("C") + 6
- elif chr(terrain) in "GHIOPQ":