Skip to content

Commit

Permalink
Moved lists in power.dm to xenomorph.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
Venuska1117 committed Jan 5, 2025
1 parent c23ff96 commit 1366e76
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 14 deletions.
14 changes: 0 additions & 14 deletions code/modules/mob/living/carbon/xenomorph/Powers.dm
Original file line number Diff line number Diff line change
Expand Up @@ -94,20 +94,6 @@
if(!alien_weeds || alien_weeds.secreting)
return SECRETE_RESIN_FAIL

var/list/blacklist_caste = list(XENO_CASTE_HIVELORD)
var/list/whitelist_build = list(
/datum/resin_construction/resin_turf/wall,
/datum/resin_construction/resin_turf/wall/thick,
/datum/resin_construction/resin_turf/wall/queen,
/datum/resin_construction/resin_turf/membrane,
/datum/resin_construction/resin_turf/membrane/thick,
/datum/resin_construction/resin_turf/membrane/queen,
/datum/resin_construction/resin_turf/wall/reflective,
/datum/resin_construction/resin_obj/door,
/datum/resin_construction/resin_obj/door/thick,
/datum/resin_construction/resin_obj/door/queen,
)

if(istype(A, /obj/effect/alien/weeds/node/designer/speed))
if(!(caste_type in blacklist_caste))
wait_time -= ((RC.build_time * caste.build_time_mult) / 2)
Expand Down
13 changes: 13 additions & 0 deletions code/modules/mob/living/carbon/xenomorph/Xenomorph.dm
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,19 @@
// Designer stuff
var/list/speed_node_list = list()
var/list/cost_node_list = list()
var/list/whitelist_build = list(
/datum/resin_construction/resin_turf/wall,
/datum/resin_construction/resin_turf/wall/thick,
/datum/resin_construction/resin_turf/wall/queen,
/datum/resin_construction/resin_turf/membrane,
/datum/resin_construction/resin_turf/membrane/thick,
/datum/resin_construction/resin_turf/membrane/queen,
/datum/resin_construction/resin_turf/wall/reflective,
/datum/resin_construction/resin_obj/door,
/datum/resin_construction/resin_obj/door/thick,
/datum/resin_construction/resin_obj/door/queen,
)
var/list/blacklist_caste = list(XENO_CASTE_HIVELORD)

var/icon_xeno
var/icon_xenonid
Expand Down

0 comments on commit 1366e76

Please sign in to comment.