Commit Graph

10291 Commits

Author SHA1 Message Date
eswordthecat
7875b77dc9 replace a time check with a do_after proc. 2015-05-17 19:38:00 +08:00
D3athrow
70712dd00f Fixes #4477 - posibrains and mmis can understand everything again. 2015-05-16 21:13:51 -05:00
dylanstrategie
17881e5a6b ARGHBLARBHG 2015-05-17 01:04:59 +02:00
dylanstrategie
47604a9b8b Thanks oldcoders 2015-05-17 00:28:10 +02:00
d3athrow
eb91c04409 Merge pull request #4485 from clusterfack/funtimes
Runtimes
2015-05-16 16:51:16 -05:00
dylanstrategie
2ae5d7940c Apply requested changes 2015-05-16 23:49:23 +02:00
D3athrow
b3d6262c1b Head cultists can be deconverted again 2015-05-16 14:27:08 -05:00
clusterfack
b87e693642 Fixes
Painstakingly goes through the 'in world' commit again to use the proper lists for all objects that are autoremoved from the machines list.

Also removes an extremely laggy proc called get_apc() which called locate throughout all related areas until it found an apc, links the apc to the area as only one is allowed per area.
2015-05-16 10:35:36 -05:00
clusterfack
45b1e4a7e8 Runtimes
Fixes a runtime if someone called shake screen without specifying duration and thus being passed as null

Fixes a zlevel offset runtime error in pda maps

Fixes a runtime where the all species list wasn't defined yet when calling random make name for a new client

Fixes another runtime with dismantlewall stemming from the fact byond turfs are never deleted merely changed to another type, so a proc defined on a lower level being called on the new turf doesn't exist

Fix metal detector runtime as suit storage wasn't being checked under carbon lifeforms but before an ishuman check

Avoids energy guns power supply having 0 max charge and adds an assert to catch them when they do
2015-05-16 06:01:58 -05:00
DeityLink
f21e8af788 doomguy and cleanup 2015-05-16 10:26:31 +02:00
clusterfack
64962b8c06 Stat fix
Change stat from if(ticklag < .5), sleep(1) to a simple sleep(4).

I think sleep(1) would only delay the update if the ticklag was less than .1, however byond-wise sleep(4) is assured to delay any stat() update that is attempted before .4 seconds are up.
2015-05-16 01:23:16 -05:00
DeityLink
894f7fc615 mhkay 2015-05-16 05:13:32 +02:00
DeityLink
b7db010e5c comms 2015-05-16 04:45:09 +02:00
D3athrow
287013e655 stat() wont slap your shit on low ticklags 2015-05-15 19:52:42 -05:00
d3athrow
9578dae557 Merge pull request #4377 from DeityLink/broomupdate
[Feature] Wizards can now use brooms to fly
2015-05-15 16:08:05 -05:00
D3athrow
7cd834f32e file 2015-05-15 14:42:56 -05:00
D3athrow
16fb8d3515 if needed in the future migration controller for sqlite. 2015-05-15 14:09:30 -05:00
D3athrow
d80bad7dcd Fixed #4466 - secondary language saves properly now 2015-05-15 14:09:29 -05:00
d3athrow
bff39cb3aa Merge pull request #4462 from DeityLink/onemore
[Bugfixes] Fixing some endgame related bugs
2015-05-15 13:51:55 -05:00
d3athrow
30a20b507b Merge pull request #4412 from dylanstrategie/Cigs-Stuff
Rework of cigarettes and cigarette-related items
2015-05-15 13:02:51 -05:00
dylanstrategie
1b7a3f9f99 Halve Xenomorph Electrification Damage
It's currently ridiculously easy for Xenomorphs to shock themselves to
death on station equipment, given that they get the same damage as
humans do. I have halved it given that the alien's only way to entry
into most places, outside of ventcrawling, is destroying shit

Also APCs do double electrocution damage due to them having two
electrify wires, this balances that (otherwise slashing an APC on a
station with normal power output is an instant crit)

New crit thresholds for aliens are 1 million W for the APC and 8 million
W in general, both with 100 % electrify ratio

Changelog included
2015-05-15 19:25:31 +02:00
dylanstrategie
01c43d5226 Fix #4438
For some reasons Voxes are tagged as being able to wear Engineering
hardsuits. For one they already have pressure suits, and then those
suits don't fit (as made obvious by the fact the Chief Engineer hardsuit
is excluded to Voxes, and it is a recolor by all means)

Changelog included
2015-05-15 18:07:40 +02:00
d3athrow
95b4e8f344 Merge pull request #4443 from clusterfack/ticklagcompensation
Change ticklag compensation
2015-05-15 09:16:25 -05:00
clusterfack
04a05e3d82 Change ticklag compensation
The old system would go from have x1 move delay to like x5 on a ticklag that is only half. Which is pretty shit and forces you to disable tick compensation if you want to be able to move at a reasonable speed on low ticklags.
2015-05-15 05:40:46 -05:00
wwjnc
ddf95adbb6 Squashed commit for PR #4116. Fixes #4005, fixes #3216, fixes #3699,
fixes #3196.

  - Fixes welder fuel being spread/created on space turfs.

  - Added missing `src = null` statements in some reagent reactions.

  - Removed duplicate virus food recipe and fixed the current one.
    The new recipe apparently was from some virology rework and
    conflicted with the old one. The current recipe has been tweaked
    to match the wiki: 5u milk + 5u water gives 15u virus food.

  - Moved transfer/splash code to the reagent_container/transfer() proc.
    No more copypasted code everywhere, hopefully.

  - Fixed some (pills, holy water bottle, drink glasses, shakers...)
    `reagent_containers` being able to transfer contents at a distance.

  - Added a `return 1` in some `attackby()` to avoid having them call
    `afterattack()`. Reduces amount of snowflake code and kills ninjacode
    in `reagent_containers`.

  - Added helper procs to log game events/reagent transfers.

  - Removed copypasted code from spray/chemsprayer and syringe code
    and refactored it a bit.

  - Fixed trans_to() not handling blood transfers correctly.

  - Less painful copypasted logging code.

  - Why am I even alive

  - Modernized things, removed more snowflake.

  - Welder fuel and flamethrower decals are now pooled.

  - `transfer_sub` now typechecks properly

  - `splash_sub` now handles correctly and gives a message when
    splashing something with `amount = 0` or without reagents

  - Added `is_empty()` proc to `/datum/reagents`

  - Added `animate_movement` to the pooler's ignore list to fix
    a bug where pooled objects would get that var reset to 0
    instead of their overriden value for some reason.
2015-05-15 08:58:39 +02:00
DeityLink
3cdce4f53e fixing stuff 2015-05-15 08:46:03 +02:00
DeityLink
3baa370709 that 2015-05-15 01:50:03 +02:00
d3athrow
15d95d86df Merge pull request #4374 from 9600bauds/whymefryme
goofball's shit 2: return of goof: goof in time
2015-05-14 12:16:43 -05:00
d3athrow
50c7bd9703 Merge pull request #4265 from PJB3005/more-random
Ports https://github.com/tgstation/-tg-station/pull/9252
2015-05-14 11:50:15 -05:00
d3athrow
92ab01d484 Merge pull request #4408 from dylanstrategie/Helmet-Light
Fix #4401
2015-05-14 11:47:54 -05:00
D3athrow
84270162be Should satisfy #4420 from letting xenos reset their only language and speak the old tongue. 2015-05-13 19:03:57 -05:00
D3athrow
1f4abeae16 Fix #4421 2015-05-13 18:34:29 -05:00
D3athrow
00049a6813 Fixes #4437 robots get languages on New() 2015-05-13 18:08:03 -05:00
d3athrow
b7c44f0c3d Merge pull request #4414 from 9600bauds/dabadeebadae
Weighted color averaging for reagents
2015-05-13 15:01:28 -05:00
D3athrow
3ba32f7cff Fix #4423 2015-05-12 19:44:48 -05:00
D3athrow
34ad3124aa MoMMI static toggle and config 2015-05-12 18:28:43 -05:00
9600bauds
27fe764f55 Weighted color averaging for reagents 2015-05-12 14:40:22 -03:00
d3athrow
ec72191db7 Merge pull request #4320 from clusterfack/feature7
Adds Local Zlevel Drift
2015-05-12 12:24:06 -05:00
d3athrow
008d66eb79 Merge pull request #4372 from Arthurdentist/more-spells
Clown Curse
2015-05-12 12:23:51 -05:00
Arthurdentist
bd4e7984c8 final 2015-05-12 17:41:47 +01:00
dylanstrategie
38f5abdc9d Rework of cigarettes and cigarette-related items
[Description pending]
2015-05-12 18:16:26 +02:00
D3athrow
f3e9002795 Fix long range mortars 2015-05-12 10:53:19 -05:00
clusterfack
0aa8006d66 Adds Local Zlevel Drift
Resolves #4319.

Adds a zlevel drift for all zlevels at roundstart. Hopefully it doesn't go list index out of bounds or something. Also stopped a method for determining zlevel drift using only the teleport computer and inputting 6 values to bisect the possible offsets until you find the specific one.
2015-05-12 03:33:54 -05:00
d3athrow
ff8530d695 Merge pull request #4405 from clusterfack/IN_WORLD
IN WORLD
2015-05-12 03:20:19 -05:00
dylanstrategie
0af2f51138 Fix #4401
This acts as a broad fix to helmet lights. Includes a few standardized
procs (update_brightness notably, and procs like update_icon(), New()
and examine() were dropped in)

- Scrapped update_brightness from the now defunct flashlight PR. Has
already been tested and works, and still works here. Should work
flawlessly while clearing up the code, and can be extended in the future
- Added compatibility hook for disabling helmet lights after setup and
stopped the helmet light action button from showing if there is no
helmet light (addressing the issue)
- Fixed the gold helmet's _color being incorrect, leading to odd
behaviour when its icon is updated
- Changed Syndie RIG Helmet's action button to "Toggle Helmet Camera" to
reflect the difference. Still accounted as a light for all that matters
- Added an extremely simple examine() proc

Changelog included
2015-05-12 10:17:34 +02:00
d3athrow
6b1a849d51 Merge pull request #4392 from 9600bauds/i'mblue
Fixes wrong color averaging
2015-05-12 02:24:39 -05:00
clusterfack
e053bd704c IN WORLD
Removes a bunch of in worlds from the code.
Deity please stop adding more it wounds me.
2015-05-12 02:13:48 -05:00
d3athrow
0a307ae5c5 Merge pull request #4333 from 9600bauds/paper2thepapening
Paper folding, paper burning, & other long-overdue useless paper stuff
2015-05-12 02:09:46 -05:00
D3athrow
5796813948 FUCKING REVERSIONS 2015-05-11 20:02:13 -05:00
D3athrow
7730d2f1d2 >nasty ripping voice 2015-05-11 18:29:13 -05:00