-
Notifications
You must be signed in to change notification settings - Fork 33
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
Showing
6 changed files
with
77 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/// All DEEP RED event machines. | ||
#define FACTION_DEEPRED "deepred" |
46 changes: 46 additions & 0 deletions
46
maplestation_modules/story_content/deepred_warfare/code/drones.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,46 @@ | ||
/mob/living/basic/reddrone | ||
name = "generic deep red drone" | ||
desc = "A generic drone." | ||
icon = 'maplestation_modules/story_content/deepred_warfare/icons/reddrone.dmi' | ||
icon_state = "rapid_light_flying" | ||
icon_living = "rapid_light_flying" | ||
icon_dead = "rapid_light_flying_dead" | ||
gender = NEUTER | ||
mob_biotypes = MOB_ROBOTIC | ||
|
||
// Relatively weak armour. | ||
health = 60 | ||
maxHealth = 60 | ||
|
||
// But, armour is optimized for thermal and energy damage. | ||
var/list/damage_coeff = list(BRUTE = 1, BURN = 0.5, TOX = 0, STAMINA = 0, OXY = 0) | ||
|
||
// Most drones are ranged attackers so they don't deal much melee damage. | ||
melee_damage_lower = 5 | ||
melee_damage_upper = 5 | ||
|
||
attack_verb_continuous = "rams" | ||
attack_verb_simple = "ram" | ||
attack_sound = 'sound/weapons/genhit1.ogg' | ||
attack_vis_effect = ATTACK_EFFECT_PUNCH | ||
verb_say = "states" | ||
verb_ask = "queries" | ||
verb_exclaim = "declares" | ||
verb_yell = "alarms" | ||
bubble_icon = "machine" | ||
|
||
faction = list(FACTION_DEEPRED) | ||
combat_mode = TRUE | ||
speech_span = SPAN_ROBOT | ||
death_message = "shudders, then falls to the ground, inoperable." | ||
|
||
habitable_atmos = list("min_oxy" = 0, "max_oxy" = 0, "min_plas" = 0, "max_plas" = 0, "min_co2" = 0, "max_co2" = 0, "min_n2" = 0, "max_n2" = 0) | ||
minimum_survivable_temperature = TCMB | ||
|
||
// Add this later. | ||
// ai_controller = | ||
|
||
/mob/living/basic/reddrone/Initialize(mapload) | ||
. = ..() | ||
var/static/list/death_loot = list(/obj/item/stack/sheet/plasteel = 3, /obj/item/stock_parts/cell/redtech/empty = 1, /obj/item/stock_parts/servo/redtech = 1) | ||
AddElement(/datum/element/death_drops, death_loot) |
26 changes: 26 additions & 0 deletions
26
maplestation_modules/story_content/deepred_warfare/code/redparts.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,26 @@ | ||
/obj/item/stock_parts/cell/redtech | ||
name = "strange red power cell" | ||
desc = "A strange red power cell. Its design is unlike anything you've seen before. It seems to be EMP resistant." | ||
icon = 'maplestation_modules/story_content/deepred_warfare/icons/redparts.dmi' | ||
icon_state = "redcell" | ||
// Just an EMP resistant bluespace cell. | ||
maxcharge = STANDARD_CELL_CHARGE * 40 | ||
custom_materials = list(/datum/material/glass=HALF_SHEET_MATERIAL_AMOUNT) | ||
chargerate = STANDARD_CELL_CHARGE * 4 | ||
|
||
/obj/item/stock_parts/cell/redtech/empty | ||
empty = TRUE | ||
|
||
/obj/item/stock_parts/cell/redtech/Initialize(mapload) | ||
AddElement(/datum/element/empprotection, EMP_PROTECT_SELF) | ||
return ..() | ||
|
||
/obj/item/stock_parts/servo/redtech | ||
name = "precise red servo" | ||
desc = "A precise red servo motor. Its design is unlike anything you've seen before." | ||
icon = 'maplestation_modules/story_content/deepred_warfare/icons/redparts.dmi' | ||
icon_state = "redservo" | ||
// Just a reskinned femto servo. | ||
rating = 4 | ||
energy_rating = 10 | ||
custom_materials = list(/datum/material/iron=HALF_SHEET_MATERIAL_AMOUNT) |
Binary file added
BIN
+487 Bytes
maplestation_modules/story_content/deepred_warfare/icons/reddrone.dmi
Binary file not shown.
Binary file added
BIN
+369 Bytes
maplestation_modules/story_content/deepred_warfare/icons/redparts.dmi
Binary file not shown.