- [+] climb "into"walls
- [+] stopclimbing(int onpurpose)
- [+] can we move forwards?
- [+] if not:
- [+] if onpurpose, fail
- [+] otherwise fall onto whoever is there??? or
they block you from falling??
- [+] move forwards
- [+] kill f_climbing flag
- [+] startclimbing()
- [+] move onto the wall
- [+] set your facing to face away from the wall.
- [+] add F_CLIMBING
- [+] must pass a CLIMB check first or you fail to climb!
- [+] can't climb if burdened
- [+] once climbing:
- [+] can't cast spells
- [+] cannot change facing
- [+] always strafe if you go sideways
- [+] change los functions to let you see out!
- [+] different move verb ("climb" instead of move/fly)
- [+] different canmove() code
- [+] you can only move sideways (along the wall) or
forwards (off the wall)
- [+] ie. cellindir(lf, lf->facing) == newcell
(forwards)
- [+] OR
- [+] ie. cellindir(lf, lf->facing + 2 (wrapped))
== newcell (right)
- [+] OR
- [+] ie. cellindir(lf, lf->facing - 2 (wrapped))
== newcell (left)
- [+] AND you can only move sidways if:
- [+] the new cell is a wall
- [+] the cell in (lf->facing) of the new cell is
NOT a wall
- [+] if you climb off a wall, tell the player that they
stopped climbing
- [+] moving while climbing:
- [+] must pass a sc_climb skill check to move
- [+] costs 1 stamina to move
- [+] warn before climbing if your stam == 1
- [+] attacking
- [+] large penalty to hit the climber (higher for
smaller monstesr)
- [+] if monsters miss you and you are climbing, chance
they'll give up.
- [+] attacking FROM a wall gets a big penalty unless
you are very skilled at climbing
- [+] startlfturn
- [+] lose stam each turn.
- [+] if stam drops to 0, you fall off or stop climbing
- [+] you fall if burdened
- [+] don't regen stam while climing
- [+] ai:
- [+] monsters won't start targeting lfs who are climbing
- [+] monsters don't pay stamina to move while climb
- [+] make monsters be able to climb when fleeing
- [+] let you climb down holes instead of falling