Skip to content

Commit

Permalink
solider
Browse files Browse the repository at this point in the history
  • Loading branch information
AndroBetel committed Mar 19, 2024
1 parent 5fc544e commit c5603fd
Show file tree
Hide file tree
Showing 8 changed files with 59 additions and 3 deletions.
3 changes: 3 additions & 0 deletions code/__DEFINES/mobs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,9 @@
// Hellhound strain flags
#define HELLHOUND_NORMAL "Normal"

// Soldier strain flags
#define SOLDIER_NORMAL "Normal"

var/list/default_onmob_icons = list(
WEAR_L_HAND = 'icons/mob/humans/onmob/items_lefthand_0.dmi',
WEAR_R_HAND = 'icons/mob/humans/onmob/items_righthand_0.dmi',
Expand Down
5 changes: 3 additions & 2 deletions code/__DEFINES/xeno.dm
Original file line number Diff line number Diff line change
Expand Up @@ -634,8 +634,9 @@
#define XENO_CASTE_HIVELORD "Hivelord"
#define XENO_CASTE_LURKER "Lurker"
#define XENO_CASTE_WARRIOR "Warrior"
#define XENO_CASTE_SOLDIER "Soldier"
#define XENO_CASTE_SPITTER "Spitter"
#define XENO_T2_CASTES list(XENO_CASTE_BURROWER, XENO_CASTE_CARRIER, XENO_CASTE_HIVELORD, XENO_CASTE_LURKER, XENO_CASTE_WARRIOR, XENO_CASTE_SPITTER)
#define XENO_T2_CASTES list(XENO_CASTE_BURROWER, XENO_CASTE_CARRIER, XENO_CASTE_HIVELORD, XENO_CASTE_LURKER, XENO_CASTE_WARRIOR, XENO_CASTE_SPITTER, XENO_CASTE_SOLDIER)
//t3
#define XENO_CASTE_BOILER "Boiler"
#define XENO_CASTE_PRAETORIAN "Praetorian"
Expand All @@ -648,7 +649,7 @@
#define XENO_CASTE_HELLHOUND "Hellhound"
#define XENO_SPECIAL_CASTES list(XENO_CASTE_QUEEN, XENO_CASTE_PREDALIEN, XENO_CASTE_HELLHOUND)

#define ALL_XENO_CASTES list(XENO_CASTE_LARVA, XENO_CASTE_PREDALIEN_LARVA, XENO_CASTE_FACEHUGGER, XENO_CASTE_LESSER_DRONE, XENO_CASTE_DRONE, XENO_CASTE_RUNNER, XENO_CASTE_SENTINEL, XENO_CASTE_DEFENDER, XENO_CASTE_BURROWER, XENO_CASTE_CARRIER, XENO_CASTE_HIVELORD, XENO_CASTE_LURKER, XENO_CASTE_WARRIOR, XENO_CASTE_SPITTER, XENO_CASTE_BOILER, XENO_CASTE_PRAETORIAN, XENO_CASTE_CRUSHER, XENO_CASTE_RAVAGER, XENO_CASTE_QUEEN, XENO_CASTE_PREDALIEN, XENO_CASTE_HELLHOUND)
#define ALL_XENO_CASTES list(XENO_CASTE_LARVA, XENO_CASTE_PREDALIEN_LARVA, XENO_CASTE_FACEHUGGER, XENO_CASTE_LESSER_DRONE, XENO_CASTE_DRONE, XENO_CASTE_RUNNER, XENO_CASTE_SENTINEL, XENO_CASTE_DEFENDER, XENO_CASTE_BURROWER, XENO_CASTE_CARRIER, XENO_CASTE_HIVELORD, XENO_CASTE_LURKER, XENO_CASTE_WARRIOR, XENO_CASTE_SPITTER, XENO_CASTE_BOILER, XENO_CASTE_PRAETORIAN, XENO_CASTE_CRUSHER, XENO_CASTE_RAVAGER, XENO_CASTE_QUEEN, XENO_CASTE_PREDALIEN, XENO_CASTE_HELLHOUND, XENO_CASTE_SOLDIER)

// Checks if two hives are allied to each other.
// PARAMETERS:
Expand Down
2 changes: 2 additions & 0 deletions code/game/jobs/role_authority.dm
Original file line number Diff line number Diff line change
Expand Up @@ -761,6 +761,8 @@ I hope it's easier to tell what the heck this proc is even doing, unlike previou
M = /mob/living/carbon/xenomorph/predalien
if(XENO_CASTE_HELLHOUND)
M = /mob/living/carbon/xenomorph/hellhound
if(XENO_CASTE_SOLDIER)
M = /mob/living/carbon/xenomorph/soldier
return M


Expand Down
2 changes: 1 addition & 1 deletion code/modules/admin/game_master/game_master.dm
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ GLOBAL_VAR_INIT(radio_communication_clarity, 100)

// Spawn stuff
#define DEFAULT_SPAWN_XENO_STRING XENO_CASTE_DRONE
#define GAME_MASTER_AI_XENOS list(XENO_CASTE_DRONE, XENO_CASTE_RUNNER, XENO_CASTE_LURKER, XENO_CASTE_CRUSHER, XENO_CASTE_FACEHUGGER)
#define GAME_MASTER_AI_XENOS list(XENO_CASTE_DRONE, XENO_CASTE_SOLDIER, XENO_CASTE_RUNNER, XENO_CASTE_LURKER, XENO_CASTE_CRUSHER, XENO_CASTE_FACEHUGGER)
#define DEFAULT_SPAWN_HIVE_STRING XENO_HIVE_NORMAL

#define DEFAULT_XENO_AMOUNT_TO_SPAWN 1
Expand Down
49 changes: 49 additions & 0 deletions code/modules/mob/living/carbon/xenomorph/castes/Soldier.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
/datum/caste_datum/soldier
caste_type = XENO_CASTE_SOLDIER
tier = 2
melee_damage_lower = XENO_DAMAGE_TIER_3
melee_damage_upper = XENO_DAMAGE_TIER_4
melee_vehicle_damage = XENO_DAMAGE_TIER_2
max_health = 360
plasma_gain = XENO_PLASMA_GAIN_TIER_8
plasma_max = XENO_PLASMA_TIER_10
crystal_max = XENO_CRYSTAL_LOW
xeno_explosion_resistance = XENO_EXPLOSIVE_ARMOR_TIER_1
armor_deflection = XENO_ARMOR_TIER_1
evasion = XENO_EVASION_MEDIUM
speed = XENO_SPEED_TIER_7

caste_desc = "A warrior of hives."
evolves_to = list(XENO_CASTE_QUEEN, XENO_CASTE_BURROWER, XENO_CASTE_CARRIER, XENO_CASTE_HIVELORD) //Add more here separated by commas
deevolves_to = list("Drone")

minimap_icon = "warrior"

/mob/living/carbon/xenomorph/soldier
caste_type = XENO_CASTE_SOLDIER
name = XENO_CASTE_SOLDIER
desc = "An alien warrior."
icon = 'icons/mob/xenos/soldier.dmi'
icon_size = 48
icon_state = "Soldier Walking"
plasma_types = list(PLASMA_PURPLE)
tier = 2
pixel_x = -12
old_x = -12
base_actions = list(
/datum/action/xeno_action/onclick/xeno_resting,
/datum/action/xeno_action/onclick/regurgitate,
/datum/action/xeno_action/watch_xeno,
/datum/action/xeno_action/activable/tail_stab,
/datum/action/xeno_action/activable/transfer_plasma, //fourth macro
/datum/action/xeno_action/onclick/tacmap,
)
inherent_verbs = list(
/mob/living/carbon/xenomorph/proc/vent_crawl,
)
gib_chance = 100
claw_type = CLAW_TYPE_SHARP

mutation_type = SOLDIER_NORMAL
icon_xeno = 'icons/mob/xenos/soldier.dmi'
icon_xenonid = 'icons/mob/xenonids/drone.dmi'
1 change: 1 addition & 0 deletions colonialmarines.dme
Original file line number Diff line number Diff line change
Expand Up @@ -2046,6 +2046,7 @@
#include "code\modules\mob\living\carbon\xenomorph\castes\Ravager.dm"
#include "code\modules\mob\living\carbon\xenomorph\castes\Runner.dm"
#include "code\modules\mob\living\carbon\xenomorph\castes\Sentinel.dm"
#include "code\modules\mob\living\carbon\xenomorph\castes\Soldier.dm"
#include "code\modules\mob\living\carbon\xenomorph\castes\Spitter.dm"
#include "code\modules\mob\living\carbon\xenomorph\castes\Warrior.dm"
#include "code\modules\mob\living\carbon\xenomorph\items\iff_tag.dm"
Expand Down
Binary file added icons/mob/xenos/soldier.dmi
Binary file not shown.
Binary file modified icons/mob/xenos/wounds.dmi
Binary file not shown.

0 comments on commit c5603fd

Please sign in to comment.