Adds the Aut'akh unathi (#5919)

* Base work for the unathi robot subspecies.

* Adds metabolism species, kidney vars, and the robot unathi organs.

* Moves some action buttons to organs, pretty much a bay port right now. Todo: the unathi and alien stuff should also go here.

* First autakh implant power.

* Fixes the organs action button this time.

* Finishes more implants, and interactions with flashs and vaurca.

* Prepare for great changes.

* Drops the real bomb, boss.

* He who fights with monsters.

* Far more work into augments and limb removing powers.

* Limb verbs should be good now.

* A LOT of work into the assited organ, allowing it to bleed and etc, as well adding a new chem that will stop bleeding in their case.

* Probably the last work on implants.

* Some extra touches.

* Some tweaks to the species.

* More fixes and adds kyre's sprites.

* More runtime fixes.

* Fixes the species name too.

* Fixes travis.

* Updates this file too to work with the new tools procs.

* Adds changelog

* Fixed changelog.

* Unathi hair and lore description.

* Some tweaks to this too.

* Locks away them for now, they will be released after we got all the events and etc done.

* Changes this chemical.

* Fixes an airlock runtime.

* Adds the non scan flag to the autakh, mostly due to some bizzare interactions with changelings and cloning.

* Organs removal changes; can't take out the organ if it is too damage.

* Restricts them back again.

* Robotic organs now have the proper icons and names.

* Adds sprites for their organs and some extra tweaks.

* Fixes this missing icon.

* emp should also now hurt assited organs.

* Tweaks more organ related things.

* Fixes the head not being properly set as well.

* Fixes their flags.

* fixes the flag for real this time.

* Poze's review.

* Changes the au'takh organ buttons to don't be animated.

* Helps with adminbus or something.

* Fowl's requested changes.

* Fixes a typo.

* Robotic limb's brute and burn mods are now controlled by the limb model.

* Fowl's changes once more.

* Stops some spam.

* More grammar.

* No eal.

* Skull's review.
This commit is contained in:
Alberyk
2019-01-23 19:27:44 +01:00
committed by Werner
parent b1742dd3f1
commit 76b743a986
280 changed files with 1651 additions and 874 deletions
@@ -38,12 +38,12 @@
user << "The lid is open. The bees can't grow and produce honey until it's closed!"
/obj/machinery/beehive/attackby(var/obj/item/I, var/mob/user)
if(iscrowbar(I))
if(I.iscrowbar())
closed = !closed
user.visible_message("<span class='notice'>[user] [closed ? "closes" : "opens"] \the [src].</span>", "<span class='notice'>You [closed ? "close" : "open"] \the [src].</span>")
update_icon()
return
else if(iswrench(I))
else if(I.iswrench())
anchored = !anchored
user.visible_message("<span class='notice'>[user] [anchored ? "wrenches" : "unwrenches"] \the [src].</span>", "<span class='notice'>You [anchored ? "wrench" : "unwrench"] \the [src].</span>")
if (!smoked && !anchored && (bee_count > 10))
@@ -102,7 +102,7 @@
if(smoked)
user << "The hive is smoked."
return 1
else if(isscrewdriver(I))
else if(I.isscrewdriver())
if(bee_count)
visible_message("<span class='danger'>The bees are furious you're trying to destroy their home!</span>")
release_bees(1, 30)
+1 -1
View File
@@ -173,7 +173,7 @@
/obj/item/weapon/reagent_containers/food/snacks/grown/attackby(var/obj/item/weapon/W, var/mob/user)
if(seed)
if(seed.get_trait(TRAIT_PRODUCES_POWER) && iscoil(W))
if(seed.get_trait(TRAIT_PRODUCES_POWER) && W.iscoil())
var/obj/item/stack/cable_coil/C = W
if(C.use(5))
//TODO: generalize this.
+2 -2
View File
@@ -93,13 +93,13 @@
user << "You load [W] into [src]."
return
if(isscrewdriver(W))
if(W.isscrewdriver())
open = !open
user << "<span class='notice'>You [open ? "open" : "close"] the maintenance panel.</span>"
return
if(open)
if(iscrowbar(W))
if(W.iscrowbar())
dismantle()
return
+1 -1
View File
@@ -305,7 +305,7 @@
else
user << "<span class='notice'>There are no seeds in \the [O.name].</span>"
return
else if(iswrench(O))
else if(O.iswrench())
playsound(loc, 'sound/items/Ratchet.ogg', 50, 1)
anchored = !anchored
user << "You [anchored ? "wrench" : "unwrench"] \the [src]."
@@ -242,7 +242,7 @@
user.setClickCooldown(DEFAULT_ATTACK_COOLDOWN)
SSplants.add_plant(src)
if(iswirecutter(W) || istype(W, /obj/item/weapon/scalpel))
if(W.iswirecutter() || istype(W, /obj/item/weapon/scalpel))
if(sampled)
user << "<span class='warning'>\The [src] has already been sampled recently.</span>"
return
+2 -2
View File
@@ -460,7 +460,7 @@
if (O.is_open_container())
return 0
if(iswirecutter(O) || istype(O, /obj/item/weapon/scalpel))
if(O.iswirecutter() || istype(O, /obj/item/weapon/scalpel))
if(!seed)
user << "There is nothing to take a sample from in \the [src]."
@@ -565,7 +565,7 @@
qdel(O)
check_health()
else if(mechanical && iswrench(O))
else if(mechanical && O.iswrench())
//If there's a connector here, the portable_atmospherics setup can handle it.
if(locate(/obj/machinery/atmospherics/portables_connector/) in loc)