Commit Graph

14351 Commits

Author SHA1 Message Date
Chinsky
abc587b64c Merge pull request #5971 from Lancer411/dev
Fix for infinite loop in smokeFlow() proc.
2014-08-14 06:31:06 +04:00
Chinsky
e23d47e6c2 Merge pull request #5996 from MrSnapwalk/hairhaireverywhere
Adds more new hair.
2014-08-14 06:30:24 +04:00
Zuhayr
4deeacc809 Merge pull request #5950 from comma/hurties
Hurties
2014-08-14 11:59:39 +09:30
MrSnapwalk
6b44ef8ff1 Adds new hair. 2014-08-13 20:15:07 -05:00
Chinsky
ed491e58f7 Merge pull request #5957 from mwerezak/train-cost
Adjusts train supply costs to make the tug/cart ratio choice more interesting for players.
2014-08-13 18:34:51 +04:00
Chinsky
1c5e944ce5 Merge pull request #5954 from Zuhayr/dev
No one is going to read this all anyway
2014-08-13 18:33:09 +04:00
Snapshot
1476234698 Merge pull request #5958 from iamgoofballsecondfork/familyman
https://www.youtube.com/watch?v=tZZv5Z2Iz_s (Because there's so many of us, git it?)
Ports the "Family Man" Hair Pack from /vg/station.
2014-08-12 22:39:14 -07:00
Lancer411
2882576358 Fix for infinite loop in smokeFlow() proc.
When chemical grenade being activated on any unsimulated turf (for example a space turf), smokeFlow() starts infinite while loop, overloading the server.
With the only one unsimulated turf in pending list while() loop can't finish itself and for() loop can't start.
This fix makes chemical grenades being able to explode in space without server going in infinite loop.

Also fixed issue with smoke being able to pass through glass walls with help of c_airblock() proc. That's the best solution I could come up with.
Zone check code was useless because every single turf besides walls (which allready checked) and unsimulated turfs have it, making algorithm believe that turfs behind the glass wall are being reachable by chemsmoke.
I don't know if it was intended not to spread smoke in airless or unsimulated areas, but a bunch of airless simulated floor tiles in space is good enough for this algorithm to start spreading smoke around.

P.S. this algorithm is good for large, open areas and horrible in narrow maint tunnels. It is creating only a single cloud of smoke for 50/50/50 recipie in 1 tile wide tunnel.
2014-08-13 06:26:30 +08:00
Chinsky
7befe12950 Merge pull request #5965 from Lancer411/dev
Fixes for grid_check random event.
2014-08-12 21:55:38 +04:00
Chinsky
573f49624e Added suggested new type of wounds for stumps 2014-08-12 19:48:17 +04:00
Zuhayr
3d16309444 Merge pull request #5956 from comma/optable
Optable changes
2014-08-13 00:46:21 +09:30
Lancer411
80305bc2fb Checks for SMES Z level at power_failure.dm
Little fix which checks Z level of SMES before drying it up at grid_check event.
2014-08-12 22:05:28 +08:00
Lancer411
784b546e93 Fixes for grid_check random event.
There was an issue, when APC with removed cell in area was powered at power_restore() proc, making area allways powered despite APC was not working.
Removed part of code which unpowers area directly, bypassing the APC process code. This makes grid_check event less laggy and smooth. Downside is lights not being shut down immediatly.
AI SMES still not being affected after this fix.
2014-08-12 19:50:20 +08:00
iamgoofball
88c034a30b Ports the "Family Man" Hair Pack from /vg/station. 2014-08-11 13:25:57 -07:00
mwerezak
db1e88abed Adjusts train supply costs 2014-08-11 12:25:07 -04:00
Chinsky
37ad0e3c1c Changed optable so it would not care why victim is lying down. It would only accept victim if it was resting, so sometimes it would not recognize lying mobs as valid victims, leading to lots of unfun in surgery.
Updated surgery helper to account for that, also cleaned it up a little with replacing all the possible causes of lying down with just lying check. It's all checked in can_move already.
2014-08-11 19:07:19 +04:00
PsiOmega
c3de9ca3c7 Fixes #5946 and cuts down on duplicate code across Life() procs. 2014-08-11 10:42:32 +02:00
Zuhayr
f09d1218fe Master to dev merge. 2014-08-11 17:23:40 +09:30
Zuhayr
a2945a00d7 Merge pull request #5940 from mwerezak/power-net
Update for shield generator power use and power net fixes
2014-08-11 10:13:26 +09:30
Zuhayr
7c46a67551 Merge pull request #5949 from Ccomp5950/cult-tele
Summon cultist and free cultists runes now give cultists less damage
2014-08-11 10:13:12 +09:30
Zuhayr
9ec66acc90 Merge pull request #5936 from Walter0o/patch-3
fixes #5934 and teleport comp fix
2014-08-11 10:12:57 +09:30
Chinsky
dddaab172c Made missing limbs not process.
Moved code in processing so that ORGAN_DESTROYED limbs won't process wounds and chemicals. They still need to process once to actually fall off (too lazy to change that)
Made dropping limbs remove all wounds and germs. Instead, one big wound is spawned on parent organ. Damage depends on the organ.
Removed missing  limbs bleeding on their own, since that's what that wound is for now.
They still would ache until surgically mended anyway.
Fixed possible issue with amputation not fixing the rotten limb.
2014-08-11 04:35:45 +04:00
Ccomp5950
a44a9b2d61 Merge pull request #5942 from Jarcolr/customs
Fixes 2 broken custom items, adds 1 new one and removes duplicate icon_state file
2014-08-10 18:54:36 -05:00
Ccomp5950
ceeb389a55 Merge pull request #5948 from mwerezak/train
Fixes runtime in train/explode()
2014-08-10 18:53:27 -05:00
Ccomp5950
06da9e8070 Merge pull request #5941 from Whitellama/master
Fixes #5577, Dionaea crashing on death. Fixes #5838, tomes not being able to be stored on bookshelves."
2014-08-10 18:53:11 -05:00
Ccomp5950
756b220bf3 Summon cultist and free cultists runes now give cultists less damage
Damage scales downward with each additional cultists around the rune.

No more automatic 15 damage for freedom then 25 for summoning even if you have 8 cultists helping with the ritual.
2014-08-10 18:26:58 -05:00
mwerezak
8482314541 Fixes runtime in train/explode() 2014-08-10 18:37:39 -04:00
Chinsky
3b9ac30de5 Merge pull request #5933 from Walter0o/patch-2
meter improvements
2014-08-11 01:57:29 +04:00
Chinsky
06aa6ab798 Merge pull request #5937 from Walter0o/patch-4
capsaicin and condensedcapsaicin changes
2014-08-11 01:57:24 +04:00
Chinsky
7df146ba2a Merge pull request #5924 from mwerezak/train
Fixes #5915
2014-08-11 01:57:02 +04:00
mwerezak
03e557823c Fixed #5912
Also fixes hydroponics trays not updating
2014-08-10 16:29:09 -04:00
Whitellama
c87ad570f8 Cult tomes can't be destroyed with ethanol 2014-08-10 12:50:53 -07:00
mwerezak
58e0b659d4 Reorganizes shieldgen source code and icon files 2014-08-10 11:58:25 -04:00
Chinsky
3d3ef4bf58 Merge pull request #5931 from Mloc/bs12-power
XGM optimizations and fixes
2014-08-10 18:08:50 +04:00
Whitellama
49c8c6f2cb Made arcane tomes a subtype of books, fixes #5838 2014-08-10 02:23:36 -07:00
Jarcolr
2db24a17d5 Typo 2014-08-10 11:57:40 +03:00
Jarcolr
4666966dab Fixes 2 broken custom items, adds 1 new one
Fixes hazard hardsuit icon_state, paper icon_state missing for an item,
removed krinn_hatt from obj/clothing/hats.dmi since it's defined to be
in custom_items.dmi and added MiT labcoat
2014-08-10 11:49:14 +03:00
Whitellama
cfa1ff3440 Fixed Dionaea crashing on death 2014-08-10 01:00:26 -07:00
mwerezak
444d03a335 Fixes #5901 2014-08-10 04:00:20 -04:00
mwerezak
e1dc7d436b Fixes icons and other things not updating when the master controller updates power status.
This was due to the master controller using update_powered_status()
instead of power_change(), but many machines override power_change() to
do various things when the machine gains or loses power.
2014-08-10 03:45:20 -04:00
mwerezak
4b070a2de6 Fixes #5935
Also improves apc/process() (doesnt add and then remove charge from
cells when it doesn't have to).
2014-08-10 03:44:56 -04:00
Walter0o
29ce255597 feedback change on meter improvements
thanks @comma
2014-08-10 06:47:28 +02:00
mwerezak
3be94d47c1 Updates renwick shield generator 2014-08-10 00:42:25 -04:00
mwerezak
213b11601e Updates emitters and containment field power usage
As well as PA power usage. It's not used at the moment, but it might be
used by downstream or in the future.
2014-08-10 00:40:58 -04:00
mwerezak
a08204fc16 Updates emergency and wall shield power usage 2014-08-10 00:39:57 -04:00
Walter0o
e7c4f09aad capsaicin and condensedcapsaicin changes
turns them into pain dealing reagents instead of burndamage dealing
2014-08-10 02:47:24 +02:00
Walter0o
fa15a25b67 fixes #5934 2014-08-10 02:17:06 +02:00
Walter0o
852cccf94a fixes tele-comp not checking power on initialize()
prevents exploiting the computer back on while area power is off
2014-08-10 02:07:13 +02:00
Chinsky
18070da974 Merge pull request #5922 from Jarcolr/customs
Complements the job specific satchels with 5 new job specific backpacks
2014-08-10 04:02:26 +04:00
Chinsky
749bd6d3f2 Merge pull request #5920 from Jarcolr/patch-1
Move through blenders and pull blenders places
2014-08-10 04:00:11 +04:00