-
Notifications
You must be signed in to change notification settings - Fork 557
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6f98fd9
commit d200d9d
Showing
13 changed files
with
232 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
105 changes: 105 additions & 0 deletions
105
code/modules/mob/living/carbon/xenomorph/castes/lesser_drone.dm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
/datum/caste_datum/lesser_drone | ||
caste_type = XENO_CASTE_LESSER_DRONE | ||
tier = 1 | ||
melee_damage_lower = XENO_DAMAGE_TIER_1 | ||
melee_damage_upper = XENO_DAMAGE_TIER_1 | ||
melee_vehicle_damage = XENO_DAMAGE_TIER_1 | ||
max_health = XENO_HEALTH_LESSER_DRONE | ||
plasma_gain = XENO_PLASMA_GAIN_TIER_7 | ||
plasma_max = XENO_PLASMA_TIER_2 | ||
crystal_max = XENO_CRYSTAL_LOW | ||
xeno_explosion_resistance = XENO_NO_EXPLOSIVE_ARMOR | ||
armor_deflection = XENO_NO_ARMOR | ||
evasion = XENO_EVASION_LOW | ||
speed = XENO_SPEED_TIER_7 | ||
|
||
evolution_allowed = FALSE | ||
can_be_revived = FALSE | ||
|
||
build_time_mult = BUILD_TIME_MULT_LESSER_DRONE | ||
|
||
caste_desc = "A builder of hives." | ||
can_hold_facehuggers = 1 | ||
can_hold_eggs = CAN_HOLD_TWO_HANDS | ||
acid_level = 1 | ||
weed_level = WEED_LEVEL_STANDARD | ||
max_build_dist = 1 | ||
|
||
tackle_min = 4 | ||
tackle_max = 4 | ||
tacklestrength_min = 3 | ||
tacklestrength_max = 4 | ||
|
||
aura_strength = 1 | ||
|
||
minimap_icon = "drone" //add lesser drone minimap icon - Morrow | ||
|
||
/datum/caste_datum/lesser_drone/New() | ||
. = ..() | ||
|
||
resin_build_order = GLOB.resin_build_order_lesser_drone | ||
|
||
/mob/living/carbon/xenomorph/lesser_drone | ||
caste_type = XENO_CASTE_LESSER_DRONE | ||
name = XENO_CASTE_LESSER_DRONE | ||
desc = "An alien drone. Looks... smaller." | ||
icon = 'icons/mob/xenos/drone.dmi' | ||
icon_size = 48 | ||
icon_state = "Drone Walking" | ||
plasma_types = list(PLASMA_PURPLE) | ||
tier = 1 | ||
pixel_x = -8 | ||
old_x = -8 | ||
pixel_y = -4 | ||
old_y = -4 | ||
tier = 0 | ||
mob_size = MOB_SIZE_SMALL | ||
life_value = 0 | ||
default_honor_value = 0 | ||
show_only_numbers = TRUE | ||
counts_for_slots = FALSE | ||
counts_for_roundend = FALSE | ||
refunds_larva_if_banished = FALSE | ||
can_hivemind_speak = FALSE | ||
crit_health = 0 | ||
gib_chance = 100 | ||
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/corrosive_acid/weak, | ||
/datum/action/xeno_action/onclick/emit_pheromones, | ||
/datum/action/xeno_action/onclick/plant_weeds, //first macro | ||
/datum/action/xeno_action/onclick/choose_resin, //second macro | ||
/datum/action/xeno_action/activable/secrete_resin, //third macro | ||
/datum/action/xeno_action/onclick/tacmap, | ||
) | ||
inherent_verbs = list( | ||
/mob/living/carbon/xenomorph/proc/vent_crawl, | ||
/mob/living/carbon/xenomorph/proc/rename_tunnel, | ||
/mob/living/carbon/xenomorph/proc/set_hugger_reserve_for_morpher, | ||
) | ||
|
||
mutation_type = DRONE_NORMAL | ||
|
||
icon_xeno = 'icons/mob/xenos/lesser_drone.dmi' | ||
icon_xenonid = 'icons/mob/xenonids/lesser_drone.dmi' | ||
|
||
/mob/living/carbon/xenomorph/lesser_drone/update_icons() | ||
. = ..() | ||
|
||
var/matrix/scale_matrix = new() | ||
scale_matrix.Scale(0.8, 0.8) | ||
|
||
base_transform = scale_matrix //Threaten the spriters with this until they give a sprite - Morrow | ||
transform = scale_matrix | ||
enable_pixel_scaling() | ||
|
||
/mob/living/carbon/xenomorph/lesser_drone/age_xeno() | ||
if(stat == DEAD || !caste || QDELETED(src) || !client) | ||
return | ||
|
||
age = XENO_NORMAL | ||
|
||
hud_update() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.