Commit Graph

325 Commits

Author SHA1 Message Date
ririchiyo
0c75cda8d2 Merge pull request #4304 from ComicIronic/GasDatums2
update_values speedup changes
2015-05-05 15:03:34 -04:00
ComicIronic
7700b33505 update_values speedup changes
Less datum accessing and fetching and whatnot should speed it up a lot.
get_gas_fuel() and get_gas_oxidiser() have been reverted to slightly older behaviour.
Can't say this will definitely massively reduce CPU, but it will make it significantly faster since get_gas_fuel and get_gas_oxidiser weren't nearly as called as I thought they were.
2015-05-05 18:00:02 +01:00
D3athrow
920d05c9e0 Lots of runtime fixes 2015-05-04 20:38:51 -05:00
ComicIronic
4d432e5240 Gas Datums
Moved gas_mixture gas numbers to a list which is connected to a global gas_datum list, like with reagents.
Modified some maths procs to be more sane, added adjust_gas and set_gas to help with processing.
Added a modular system for gas flags - gases can now be marked as fuel and oxidiser with a flag, logged with a flag, scanned with a flag, etc.
Changed scrubbers to use a list of scrubbing gases rather than a set of vars.
Made miners and xenoarch effects more sensible - they now produce gas by ID, not manually.
Made turfs' starting gases into a list, removed turf gas number vars.
2015-05-04 10:36:04 +01:00
eswordthecat
489ea17ce2 Fixes issue with stripping <aa<bb>cc> outputting cc> instead nothing. 2015-04-18 21:39:12 +08:00
D3athrow
9c2b08c24e even more 2015-04-14 21:11:54 -05:00
D3athrow
fdf8b918aa Another regex pass
<span class='warning'><b> -> <span class='danger'>
2015-04-14 21:11:54 -05:00
D3athrow
01d2471fc9 Merge branch 'color_replace_2_electric_boogaloo' into Bleeding-Edge
Conflicts:
	code/ATMOSPHERICS/pipe/pipe_dispenser.dm
	code/game/machinery/computer/HolodeckControl.dm
	code/game/machinery/embedded_controller/embedded_controller_base.dm
	code/modules/mining/money_bag.dm
	code/modules/mob/living/carbon/carbon.dm
	code/modules/mob/living/silicon/mommi/mommi.dm
	code/modules/mob/living/simple_animal/friendly/farm_animals.dm
	code/modules/research/destructive_analyzer.dm
	code/modules/research/rdconsole.dm
	code/modules/research/xenoarchaeology/machinery/analysis_base.dm
	code/modules/research/xenoarchaeology/machinery/artifact_harvester.dm
	code/modules/research/xenoarchaeology/tools/ano_device_battery.dm
2015-04-12 16:40:59 -05:00
D3athrow
4fad74d811 yahar should fix being sucked or blown away from a zone you're nowhere near anymore. 2015-03-09 22:48:41 -05:00
dylanstrategie
4b101e38a6 Moving catwalks from turf to obj
Major code improvement that has been long overdue. The changes have been
thoroughly tested and everything appears to be working fine

- Move catwalks from turf/[retarded path]/catwalk to
obj/structure/catwalk. A dm file has been added to that effect
- Remove iscatwalk() helper check (not needed for an obj/)
- Lattice code has been used -to great effect- to recode catwalks. No
more hardcored nonsense to "make it like there's a space tile
underneath", now there IS space underneath. This should also fix trace
gas problems often witnessed during Derelict plasma floods
- Use relativewall method. There should have been no functional changes.
Catwalks update when new catwalks are added (not when surrounding
catwalks are destroyed, but it still seems logical)
- Add a in-house ex_act system to boot (to compensate for the fact
catwalks no longer use floor's ex_act). The catwalk is either destroyed,
replaced with lattice (add lattice at location, delete catwalk) or
unscathed
- Remove a lot of spaghetti code that has creeped up into ZAS/Atmos
systems and even into tile painter code since catwalks no longer run ZAS
loops and aren't considered turfs anymore
- All maps have been updated to the new catwalk system (otherwise the
map doesn't load, duh)
- Bit of spaghetti code in cable.dm (both item and structure) since
until then cable was NEVER laid on "objects". Works as intended
- Space has been changed to intact = 0. There's no reason for space to
be "intact" because there is only one version of space tiles, and it
fucks with wire placement

Confirmed working :

- Space automatically appears under the tile, catwalks tiles thus act
100 % like space tiles without hardcoding
- Construction and deconstruction works flawlessly. You do need to
precisely click the catwalk grating to deconstruct since the obj/
catwalk uses transparency correctly, but lo and behold, it's a feature
- Explosions function as intended when targetting catwalks (lots of hole
at the center, pepperoni at a distance)
- Cable-related stuff working (laying cable on catwalk, having cable on
catwalks in general)
- Boxstation, Defficiency and Metaclub updated
- Include list updated

Everything should be functional and was tested, but please outline
anything that looks like it'd work badly
2015-03-09 20:11:57 +01:00
eswordthecat
3cc28d4f67 SPANSSSS 2015-03-06 08:50:49 +08:00
eswordthecat
f21be579e5 Clamps clamps. 2015-03-06 08:39:28 +08:00
d3athrow
2f2a6ef56d Merge pull request #3047 from ComicIronic/StepAction
Removes the STOPSPRESSUREDMG flag
2015-02-16 11:19:17 -06:00
ComicIronic
52861b41d2 Removes the STOPSPRESSUREDMG flag.
Replaced it with use of the atom-level var pressure_resistance.
Engineering, deathsquid, and ERT hardsuits now resist up to 20MPa of pressure, security and medical 4MPa, and soft suits 0.5MPa.
Pressure protection can now also come from items equipped in slots other than the head or suit.
2015-02-16 11:18:30 +00:00
D3athrow
17cf4429e7 Funtime fix. 2015-02-15 23:57:14 -06:00
D3athrow
5188db01d0 Should fix #403 2015-02-15 20:08:32 -06:00
D3athrow
e11f20bc78 dont tell chase, this is needlessly complex of a settings setup for one system, change idfrompath to just storing the list ID as text version of the datum path, should cut down on a lot of strpos calls. 2015-02-14 18:25:38 -06:00
D3athrow
e7abb98700 sanity ahoy 2015-02-02 20:17:33 -06:00
D3athrow
95a228e91c Suck my dick anonymous 2015-02-02 09:21:06 -06:00
D3athrow
cd34a3eb07 Stupid sexy plasma fires
remove slagging
2015-02-01 02:38:12 -06:00
D3athrow
89636b0eb7 Some movement and pull tweaks pulled from TG. 2015-01-26 03:07:53 -06:00
ComicIronic
21c415ad17 Merge conflicts and flags. 2015-01-20 22:34:26 +00:00
D3athrow
f7b08339a1 Fix stuff doing the slamjam thank you maam even if zas didnt throw a thing. 2015-01-15 18:40:24 -06:00
ComicIronic
54f206f23b Flag fixing, unstaging some files. 2015-01-11 15:54:11 +00:00
ComicIronic
0b982125cf Face part flag changes.
Removed the HEADCOVERSEYES, MASKCOVERSEYES, GLASSESCOVERSEYES, HEADCOVERSMOUTH, and MASKCOVERSMOUTH flags.
Added the EYES, EARS, and MOUTH flags for body_parts_covered.
Added a proc for getting the item giving a flag, instead of just checking that it's there.
Made borers check for the EARS flag, instead of using HIDEEARS.

Next on the chopping block is BLOCKHAIR and BLOCKHEADHAIR, which are going to be shoved into flags_inv.
2015-01-11 15:22:02 +00:00
Rob Nelson
f1cadf6ef1 Mob movement/attack/click/special delay rework
This code was just a big fucking mess.  Happy motherfucking 2015.

 * Delay procs and variables replaced with a standardized delayer framework.
 * Cleaned up the absolutely fucking atrocious fix_next_move() diagnostic verb.
 * Added the ability to adjust minimum and maximum delay clamps per-mob for adminbus purposes and future features.
   * USECASE: Fat people cannot attack as fast (not implemented)

Tested somewhat by smacking a window with a crowbar.  Movespeeds also don't seem insane, either.
2015-01-01 03:21:23 -08:00
ComicIronic
32aa055e36 Flamethrower fixes.
Fuel now burns, even without an auto-ignition temperature, which was a silly way of doing things.
Mobs no longer ashify since their proc is changed.
Flamethrowers now spread more fuel and burn more consistently for it.
Atoms now have volatility, so they can burn more if they have less fuel.
2014-12-11 23:12:28 +00:00
DeityLink
2b88b0ad49 Adminbus fixing final part: goodbye Isolated 2014-11-27 13:41:30 +01:00
DeityLink
ff329a29ee Merge remote-tracking branch 'origin/Bleeding-Edge' into adminbus-final 2014-11-25 04:03:35 +01:00
eswordthecat
d214513c61 baby we have proc for this. 2014-11-24 00:41:54 -08:00
eswordthecat
aaeb48ac55 Probably fix #1509. 2014-11-24 00:36:53 -08:00
DeityLink
b70d458c52 Merge remote-tracking branch 'origin/Bleeding-Edge' into adminbus-final 2014-11-21 07:19:53 +01:00
Rob Nelson
6017cd6599 Missed a change 2014-11-18 16:00:10 -08:00
Rob Nelson
da43b3716e Instant ashing appears to be fixed. 2014-11-18 15:56:45 -08:00
Rob Nelson
ec5066b376 Work 2014-11-14 11:45:49 -08:00
DeityLink
09bf70457a Adminbus part1 2014-11-13 05:27:43 +01:00
Rob Nelson
3b3c8ae76e Fix atmos-based bombs because god damnit pomf. 2014-11-08 22:07:18 -08:00
ComicIronic
abf976d91a Edited proc arguments. 2014-10-31 21:33:36 +00:00
Chris
dff16798e2 Merge branch 'Bleeding-Edge' into bay_hydro_port
Conflicts:
	code/modules/mob/living/carbon/brain/brain_item.dm
	code/modules/reagents/reagent_containers/food/snacks/grown.dm
	html/changelogs/.all_changelog.yml
	maps/tgstation.dmm
2014-10-14 11:19:50 -05:00
Chris
dbd9ff6fec It compiles! 2014-10-05 23:01:36 -05:00
Chris
705c57d799 REVERT Local changes for bug/stability/random shit i thought up (reverted from commit c6611d37ad) 2014-10-04 13:38:31 -05:00
Pomf
c6611d37ad Local changes for bug/stability/random shit i thought up 2014-10-04 11:07:22 -05:00
ririchiyo
c6c45324b1 last fixes before I head to bed to continue work tomorrow. 2014-09-28 00:49:53 -04:00
ririchiyo
f55b2f6ffa adjustments to plasma. 2014-09-27 18:06:00 -04:00
Rob Nelson
0031746344 Fix a funtime, fix extinguishers not doing dick, adjusted object fire stuff. 2014-08-21 13:56:25 -07:00
Rob Nelson
bfb838149b Whoops, missed a fuel thingy. 2014-08-21 11:17:07 -07:00
Rob Nelson
72631b8525 Changelog, performance. 2014-08-21 01:10:21 -07:00
Rob Nelson
b17fe4224f Added soot. 2014-08-21 00:37:56 -07:00
Rob Nelson
eb311ae17c Fix floors not actually burning, clear more debugging. 2014-08-20 23:07:45 -07:00
Rob Nelson
edff92dfcc Clean up debugging. 2014-08-20 20:15:05 -07:00