Commit Graph

74 Commits

Author SHA1 Message Date
Remie Richards b1ff6b7220 Merge branch 'master' of https://github.com/tgstation/-tg-station into AttackbyParams
Conflicts:
	code/game/turfs/simulated/floor/light_floor.dm
2015-02-24 22:16:53 +00:00
Remie Richards 5fc7af7fbf attackby() now has an argument containing the parameters of the click that called it. Items placed on tables now center their icon where the user clicked. this is NOT true for racks, since racks look organised in their sprite.
Items reset their pixel_x and pixel_y values on pickup.
2015-02-19 13:02:43 +00:00
paprka b2071bfdbf borg updates 2015-02-14 17:38:17 -08:00
paprka 88760896ad initial commit 2015-02-13 20:59:39 -08:00
GunHog 8465c965c0 Adds movement states for some cyborgs
Mining and Mediborgs get new movement states.
Janiborg scubbers will only move when the borg does.
Made mining borg jetpack an overlay.
2015-02-10 00:44:38 -06:00
Steelpoint 6b17d4e8f8 UpdatedCoolingModule 2015-01-27 23:45:49 +08:00
tkdrg 548b19b5e3 Fixes mining borg jetpack
Credits to ririchiyo @ /vg/station for figuring this out.
2015-01-15 19:44:41 -03:00
paprka 595ad8df58 fixed compile errors 2014-12-24 21:03:22 -08:00
Cheridan 3ede77face Merge pull request #6189 from Menshin/exofab_revamp_end+fixes
Exofab revamp finishing and fixes
2014-12-11 11:52:16 -06:00
Menshin ba44b325d3 Finished the exofab revamp:
* designs are now using the construction time var and the hacky /obj/item/mechavars is gone
* designs updated : there shouldn't be "no material" designs anymore
* cleaned the objects of their construction_cost and construction_time vars
* fixes the material name being displayed with $ character before
* this also fixes the overlay animation in inserting sheets
* the category var is now a list, so parts can be build/used with several chassis (fixes the Firefighter Chassis appearing when building Ripley)
* properly fix the href vulnerability when emptying (you can now remove all sheets of a materiel at once)
* the exofab now won't create a material sheet if there's not enough material (e.g 1000 metal)
* the exofab now won't accept a sheet if it would overstuff it (losing some material in the process)
* cleaned the code a bit (simplified, streamlined, using global vars, etc)

Finish #5722 and fixes #5954.
2014-12-02 23:00:22 +01:00
Razharas 0b5ae9899e Merge pull request #6125 from MrPerson/span_classes_never_heard_of_them
Removes a stray /red in robot_upgrades.dm
2014-12-02 15:54:17 +03:00
MrPerson 62e9f21382 Removes a stray \red in robot_upgrades.dm 2014-11-27 23:21:35 -08:00
MrPerson 89030ad3f7 Redo cyborg icon updating
Removed the stupid "updateicon()" proc and placed the behavior in update_icons() and regenerate_icons()
Removed redundant update_fire() calls
Fixes #6057 since the staff calls regenerate_icons()
2014-11-27 23:04:35 -08:00
tkdrg 0f28c013ff Makes cyborg modules NODROP 2014-11-16 15:59:57 -03:00
xxalpha a5450b0acb Finishes repathing flashes 2014-10-22 19:09:43 +01:00
xxalpha 091cbcca2c deleted bad lines 2014-10-19 04:57:14 +01:00
xxalpha d9dafa9649 Fix cyborg flashes being useable in flashers and cyborg heads. 2014-10-19 04:35:10 +01:00
tkdrg a7f62f6d7c Fixes restarted borgs hearing cult chat 2014-10-05 20:21:21 -03:00
ikarrus 7c32420497 Resolved conflicts and added my yml changelog file 2014-09-19 09:30:59 -06:00
Aranclanos 8348743237 Adds failure message for when you try to rename a endoskeleton with a pen. 2014-09-10 08:09:39 -03:00
ikarrus 51a333ebe7 Merge gang mode into latest version 2014-08-30 23:31:44 -06:00
ikarrus 4c801434a8 Gang Mode 2014-08-30 23:17:14 -06:00
Firecage 6c7af5eb32 SPANCLASSES!!!!! 2014-08-26 09:52:13 +02:00
Firecage 4198e61af1 This fixes the message issues 2014-08-22 01:15:13 +02:00
Firecage 24b18fad93 Absolute paths for item files. 2014-08-07 23:02:43 +02:00
Kelenius 3908160998 One big update for stacks. 2014-06-10 20:36:08 +04:00
inorix 25d8ffbcdf Fixes borg naming rejecting numbers in name 2014-05-31 11:43:12 +02:00
CollenN 2aefeb0b81 Sechud uses right icon 2014-05-12 16:35:30 -04:00
CollenN 00d9bc8098 Robot Item Sprites
Adds a file called robot_items.dmi. Did some minor tweaks to the borg
goggle/hudglasses sprites to make them look slightly mechanical, and
added a sprite for the electric arm, which is animated, replacing the
old warning triangle sign.
2014-05-11 13:25:27 -04:00
Ergovisavi f302adc8ab Merge branch 'master' of https://github.com/tgstation/-tg-station into mineral_economy 2014-04-16 16:58:28 -07:00
ikarrus 13fa889b7f Fixed AI not being notified of new roboticist-built cyborgs slaved to it 2014-04-09 20:55:36 -06:00
ikarrus f46cb302a4 Updated to work with newer cyborg code. 2014-04-02 22:12:36 -06:00
ikarrus f705141fce Resolved Conflicts:
code/datums/wires/robot.dm
2014-04-02 20:23:31 -06:00
Ergovisavi d55d72f049 Merge branch 'master' of https://github.com/tgstation/-tg-station into mineral_economy 2014-03-26 18:14:48 -07:00
ikarrus c41c80591a Some minor fixes 2014-03-26 12:38:30 -06:00
ikarrus fe8481331c -Added option to force sync to a specific AI
-Removed option to force a module to load
-Fixed pulsing a cyborg's AI wire not letting it reselect an AI to sync to.
-Resolved Conflicts
2014-03-25 14:07:01 -06:00
Ikarrus d21fa447b4 added a span class 2014-03-22 16:43:50 -06:00
ikarrus 47890f4a5d Prevented humans from being able to create a non-malf cyborg during malfunction rounds without a secondary AI to sync to. 2014-03-22 16:39:43 -06:00
ikarrus 6a64071e3f Debugging Cyborgs during Construction
-Using a multitool on a completed cyborg body before inserting the MMI will allow you to set various settings to be transferred to the new cyborg mob
-Removed naming via pens. Naming is now done via debugging.
-Allows roboticists to force a module to load
-Allows roboticists to block ai syncinc and law syncing
-Allows roboticists to toggle the initial lockdown and panel lock state

I also rewrote NEO's note on cyborg objectives since he's never going to fix it now. IT'S A FEATURE.
2014-03-22 16:03:43 -06:00
MrPerson 6930283efc Merge branch 'master' of https://github.com/tgstation/-tg-station into qdel_r
Conflicts:
	code/game/gamemodes/changeling/changeling_mutations.dm
	code/game/gamemodes/changeling/changeling_powers.dm
	code/game/gamemodes/malfunction/Malf_Modules.dm
	code/game/objects/items/weapons/tanks/watertank.dm
	code/game/objects/structures/tables_racks.dm
	code/modules/research/server.dm
2014-03-21 03:05:39 -07:00
Ergovisavi 57fe8ea3f4 Various mineral/material standardizations, minor mob changes 2014-03-19 18:28:56 -07:00
ikarrus 0fbafdb2db Added a notice for module changes as well. 2014-03-19 09:07:43 -06:00
ikarrus c891362dd3 Included fixing cyborg camera names not updating when reclassed or renamed by admins 2014-03-18 23:07:48 -06:00
ikarrus 87f85e7073 Added tracking links to the notices 2014-03-18 22:57:14 -06:00
ikarrus 0015be8d74 AIs are notified when a cyborg is slaved to it
Includes:
-Roundstart cyborgs
-New cyborgs
-Reclassified cyborgs
-Cyborgs when the AI wire is pulsed
2014-03-18 22:25:07 -06:00
ikarrus d97e7d84aa Allows roundstart cyborgs to select their own name
But only if the option is enabled in the server config.

Credit to Neerti for originally coding this.
2014-03-18 21:22:51 -06:00
MrPerson 6b29fecda1 Merge branch 'master' of https://github.com/tgstation/-tg-station into qdel_r
Conflicts:
	code/game/machinery/bots/ed209bot.dm
	code/game/machinery/rechargestation.dm
	code/game/machinery/turrets.dm
	code/game/objects/structures/crates_lockers/closets.dm
	code/modules/research/circuitprinter.dm
2014-03-08 22:03:03 -08:00
Razharas b27d9c7396 Added RPED, some sprites and new power cell path
Your dreams of big part storage and fast machine part exchange came true
14 slot R&D part-only autoseeker/picker/dropper/exchager is in
Added different sprites for better capacitors and scanning modules
Changed the power cell type to be compatible with all this machine
changing faggotry
All sprites here are codersprites so ask nien/WJ for better ones if you
want
2014-02-24 05:14:43 +04:00
MrPerson 9eee3e5067 First pass at a qdel() garbage collection system for tgstation
Works pretty well. If it can't GC something, it'll just del() it and be done.
Speed is amazing, holy shit.

New procs you should be aware of:
qdel(atom/movable) - sets up an object for garbage collection. Call this rather than del(atom/movable).
atom/movable/Destroy() - called right before the object is GC'd, so it still has a loc. Also called if the object is del()'d.
new controller - garbage.dm has all the details on this. Basically it nulls all references on GC'd objects and force del() them if necessary.
Generally speaking, objects should use Destroy() for behavior prior to deletion rather than Del(). You should also always call the parent so the object gets the right gc_destroyed var set.

ISSUES:
Tries to GC mobs atm. This actually works for new players, not so much for humans/monkies/simple_animals/anything. I'm guessing it needs to clear out their mind and HUD and maybe other things.
Gibbing is really bugged. It works, but the overlays just sit there for awhile and ugh. I'm very tempted just to del() mob/living and mob/camera and call it a day.
qdel() equipment doesn't unequip the item.
Pipes don't generally GC correctly. Debugging suggests they get referenced in many pipenets and that isn't cleared properly. However some do work fine. Need assistance here.
Bots don't GC, probably in the radio controller.
Lots of other shit doesn't GC but it's hard to find them because of the pipe spam.
I think I'm calling Destroy() twice by accident.
2014-02-23 14:55:12 -08:00
Miauw 3b24bb64f4 Merge branch 'master' of https://github.com/tgstation/-tg-station into NODROP
Conflicts:
	code/modules/mob/transform_procs.dm
2014-02-18 18:22:40 +01:00