Commit graph

15 commits

Author SHA1 Message Date
Sara 973ba952c2 fix: general AI behaviour fixes 2024-08-15 21:45:00 +02:00
Sara 693859e874 chore: removed unneeded print calls 2024-08-15 21:43:21 +02:00
Sara 0e8bcf4442 feat: units use navigation obstacle avoidance 2024-08-15 21:43:21 +02:00
Sara 111485437c bug(goap): fixed unexpected AI behaviour
- Death now removes entity from awareness
- State failure now causes replan or goal reevaluation
2024-08-15 21:43:21 +02:00
Sara a2240797b8 fix: self preservation plan in the wrong order 2024-08-15 21:43:21 +02:00
Sara 1b8563a5eb feat: added parent_ and target_ global_position world props 2024-08-15 21:43:20 +02:00
Sara f9b3c6eb3f feat: implemented heal action and goal 2024-08-15 21:43:20 +02:00
Sara a78bbfd3b5 feat: implemented melee attacks for Tank enemy 2024-08-15 21:43:20 +02:00
Sara 65b0f76991 chore(style): changed brackets to match style 2024-08-15 21:43:20 +02:00
Sara 7cf5b128ff feat: implemented fire at target action 2024-08-15 21:43:20 +02:00
Sara 58a717aec4 feat: added on-target-destroyed callback to unit world state 2024-08-15 21:43:20 +02:00
Sara 6dddbced43 feat: changed distance check < to <= 2024-08-15 21:43:20 +02:00
Sara a946f7f39b feat: renamed get_target_dead to get_is_target_dead 2024-08-15 21:43:20 +02:00
Sara f940072312 feat: implemented basic "can_see_target" 2024-08-15 21:43:20 +02:00
Sara 8cfbbcce27 feat: fully implemented click-to-move 2024-08-15 21:43:20 +02:00