Commit Graph

647 Commits

Author SHA1 Message Date
Lzimann 5a618297ce Replaces the default output with the to_chat wrapper. 2017-03-10 01:32:05 -03:00
XDTM 1f049cb347 Clicking on a tile with another tile and a crowbar in hand directly replaces the tile (#24847)
* tentadel

* back to normal

* Clicking on a tile with another tile and a crowbar in hand directly replaces the tile

* procs

* generic

* screw it
2017-03-09 23:36:37 +01:00
Cheridan 7026d45b9e Merge pull request #24780 from ChangelingRain/basaltfix
Fixes basalt lighting
2017-03-08 02:25:38 -06:00
PKPenguin321 3a1b0b2b6c Adds a new arcade prize, take two (#24660)
* adds fake chasm tiles

* adds to arcade machine list

* swood this

* swood that
2017-03-08 11:19:53 +13:00
Joan Lung f36940d1c0 Circuit tiles now glow faintly (#24722)
* Circuit tiles now glow faintly

* one missed
2017-03-07 21:04:04 +01:00
Joan Lung 6f732b42ad no message 2017-03-06 21:56:27 -05:00
PJB3005 a63608d023 Merge remote-tracking branch 'upstream/master' into rebase-to-vg 2017-03-03 16:31:00 +01:00
oranges f32834f851 Merge pull request #24477 from lzimann/nosmooth
Shuttle walls no longer smooth with shuttle engines, only with shuttle heaters
2017-03-02 19:54:04 +13:00
Lzimann 941ae665e9 Shuttle walls no longer smooth with shuttle engines, only with the heaters 2017-02-26 19:04:16 -03:00
Joan Lung cd29795b73 Clockwork objects are overall easier to deconstruct (#24424) 2017-02-26 15:31:26 -06:00
Cyberboss 56a6eaa8e6 Overlay queuing (#23922)
* Overlay queuing

* Fix SS flags

* Don't copy on assignment

* Flags processing

* Fix icon_smoothing

* MSO's helper proc

* Legacy detection

* Make it work

* Fixes shitcode

* Fix the flag

* |= -> +=

* OK, how did I fuck that up?

* shitcode

* Conditional assoc queue while initializing

* Cleanup everything

* Orange meme

* This isn't perfect, but its the best byond will give us.

* forgot about dir

* oh ya

* This was litterally the last thing i did last night before heading to bed

You can tell can't you?

* Fixes various shit

* Let's not ever pause

* Fix the flag

* Cleaned up some missing shit. Added image dummys

* Remove the one usage of FPRINT

* Jesus get rid of this
2017-02-22 21:44:55 +13:00
PJB3005 f11c558c99 Merge remote-tracking branch 'upstream/master' into rebase-to-vg 2017-02-12 16:35:57 +01:00
Cyberboss 8e1351a06f Faster, non-blocking world init (#23136)
* Moves turf New calls to Initialize

* Much faster

* Fixed

* Makes add_to_active queue up before SSair is initialized

* Remove active queuing

* And the proc

* Move the check

* Fix some shit

* F U C K T U R F S

* Necessary

* Unnecessary

* SHUT THE FUCK UP

* Panic mode hurts the code

* Such a

* Simple answer

* A well thought out plan

* /turf/open optimization

* Undo the warning suppression now that it's fixed

* Fixes lava typecaching badly

* Added late initialization

* Make the atmos offenders late initialize

* Add extra logging

* GLABALS

* Better solution for trying to activate w/o air

* Further base calling copypasta

* Gates, guards, gorans

* Small doc fix

* Do the faster

* T U R F   V A R   P E R S I S T E N C E

* The solution is always so simple

* The (hopefully) final nail in the coffin
2017-02-10 16:53:08 +13:00
PJB3005 3c8b98a3aa 9/11 2017-02-08 15:07:58 +01:00
PJB3005 8ce6ae2b87 Merge remote-tracking branch 'upstream/master' into rebase-to-vg 2017-02-08 14:30:23 +01:00
Cyberboss b86e224571 Makes qdeleted and qdestroying macros (#23666)
* Makes qdeleted and qdestroying macros

* Makes QDELETED and QDESTROYING uppercase

* Swap qdel checks istype's for != null's

* Fix it

* How was this missed?
2017-02-06 00:59:27 +13:00
Pieter-Jan Briers aeb057579e Hey it almost works 2017-02-04 01:00:12 +01:00
Cyberboss f7c9749ca0 Fixes some bad addtimer calls. Adds INVOKE_ASYNC. Replaces addtimer(..., 0) (#23424)
* Fixes some bad addtimers

* Adds INVOKE

* Warning for addtimer

* Working syntax

* Another bad call

* Fixes the addtimer warning

* Add suppress_zero_warning to addtimer

Useful for addtimer that uses vars

* Add INVOKE_AGAIN for when the var is already defined

* Replace addtimer(...,0) with INVOKE((...))

* Much more sensible syntax

* Less overhead, less copypaste

* Rename INVOKE_ASYNC

* Use a macro

* Allman style

* Wait, why make it a datum in the first place?

* Revert the rename

* Rename again, keep line endings

* typo

* More typos

* Untouches Addtimer

* Update callbacks.dm

* Update timer.dm

* Revert allman style

* Revert "Revert allman style"

This reverts commit 47361da15bd04eca138be5f13acdc9dd5ba89331.

* Trying to match that whitespace diff

* Why is this missing?

* I'm not fucking dealing with this!
2017-01-31 09:20:54 +13:00
AnturK 6470464ec1 Map Decals v.2 (#23385)
Simple decal system to replace turf stacking and icon state duplication.
Plus simple script to help with path updates that are bit more complicated that search&replace.
Fixes caution tiles turning into space.
Fixes flipped corner decals.
Fixes gas list property whitespace on replacing.
2017-01-30 10:20:39 +13:00
Leo 2947408e09 Revert "Turf decals + path update helper" 2017-01-26 17:03:25 -02:00
AnturK bf20de19f6 Turf decals + path update helper (#22887)
* Decal + Path update helper initial

* decal definitions

* Changes

* Updated script

* Bugfix & some pep8

* Default paths in filter rules

* return to crash

* Removes unused paths.

* Removes redundant icon_states

* capitals

* Maps v6 - run out of comments
2017-01-26 22:59:17 +11:00
Joan Lung 884c6498cb The Ark of the Clockwork Justicar will gradually convert objects near it (#23108) 2017-01-24 02:34:43 +04:00
Cyberboss 5959ac32cc Refactors atom/Initialize. Fixes ruins being initialized twice (#22778)
* Refactors atom/Initialize

Captialized for compiling correctness and to be more inline with Destroy

Will now be called from atom/New if the world initialization loop in SSobj has already run. Should always call the base.

Now comes with the `roundstart` parameter indicating whether or not it was called by SSobj or atom/New

Other fixes/tweaks:
- Renamed a proc called Initialize in abduction consoles to Setup
- Removed /obj/item/device/radio/headset/headset_sec/department: Broken and referenced literally nowhere in the code
- Removed a spawn from the Initialize of turbine_computer which made literally zero sense
- Generalized the proc which fixes RND servers with no id set

Reasoning: It's better to check roundstart per function than to have to duplicate code in New and Initialize. Think of it as a safer New for atoms. If we move enough stuff to it, initial map load performance will increase due to less New calls

* Fixed a thing

* Actually, fuck the police

* >Expecting a merge without errors

* >Not calling ..() in New

* Sanic

* Fix the headset bug

* Makes sure the map loaders dew it right

* Fixes ruins being initialized twice

* Rename roundstart -> mapload

* Revert "Rename roundstart -> mapload"

This reverts commit 667c327fd2ccfa3ce4f4db52eac03f9e8b0f6812.

* Remove unrelated change

* A more direct solution to map loads

* And now we shouldnt need this warning

* Add the new var to SSobj recovery

* Revert "Revert "Rename roundstart -> mapload""

This reverts commit dee07dbd5e4696554ac43aae5b91cce743b9b9e0.

* Line endings
2017-01-23 09:37:45 +01:00
Kyle Spier-Swenson 12570805bd Closes the Pool. (#23150)
* Delete pool.dm

* Removes usage of PoolOrNew

* Wrap up
2017-01-22 16:00:23 -05:00
Kyle Spier-Swenson 21845d801e Fixes unneeded delay in smoothing mining walls (#23086) 2017-01-19 12:27:12 +01:00
Cheridan 17383b88bb Merge pull request #23057 from ChangelingRain/misctweaks
Fixes a few things
2017-01-18 14:11:28 -06:00
Joan Lung 28c604da78 Merge pull request #23076 from XDTM/GeothermicEnergy
Singulo won't make rods out of lava, lava will keep burning extinguished stuff
2017-01-18 15:00:24 -05:00
XDTM 71f31fb4f5 Burning fix 2017-01-18 10:17:45 +01:00
PJB3005 e2386a8bd8 Have some code 2017-01-17 22:54:05 +01:00
PJB3005 7356e80484 hey that should be everything except making it compile. 2017-01-17 22:08:27 +01:00
XDTM 1284f9732c Singulo won't make rods out of lava 2017-01-17 20:10:20 +01:00
Joan Lung cb61d74e45 Fixes a few things 2017-01-16 16:15:02 -05:00
Joan Lung 3f0009b12e Ratvar will now convert lattices to clockwork lattices 2017-01-15 11:45:45 -05:00
oranges a840d1ffe2 Merge pull request #22975 from coiax/fix-15384
Fixes floors flashing red after doomsday stops
2017-01-14 11:57:47 +13:00
Cyberboss 0a79e94bd6 In which Cyberboss doesn't call procs on a replaced turf (#22957)
* This'll do it

* SRC!
2017-01-14 11:53:54 +13:00
Jack Edge 00a260006c Fixes floors flashing red after doomsday stops
🆑 coiax
bugfix: Blue circuit floors are now restored to their normal colour if
an AI doomsday device is disabled.
/🆑

Put a nuke tracker on SSmapping, because we need a tiny bit of state to
track this, in case you have two concurrent things running.
2017-01-12 15:53:06 +00:00
Cyberboss 26839c7851 Fixes level 1 explosion's interaction with walls (#22888)
contents_explosion was never called reeeee
2017-01-11 13:47:30 +01:00
Joan Lung d89fe0b870 Fixes clockcult's overreliance on Replicant Alloy (#22824)
* Fixes clockcult's overreliance on replicant alloy

* i did it like that for a reason

* comment

* =
2017-01-10 09:57:01 +13:00
coiax db44b6297f Fixes smoothing when repairing reinforced walls (#22816)
* Fixes smoothing when repairing reinforced walls

🆑
add: Girders now offer hints to their deconstruction when examined.
:/cl:

Fixes #22805.

- Removes some unused code in unsorted.dm
- Replaces is_pointed with a global list and a #define
- Removes some trailing returns
- Makes thermite use QDEL_IN rather than spawn()
- Girders (especially reinforced girders) now offer hints to how to
destruct them.

* Moves is_pointed to is_helpers
2017-01-10 09:55:04 +13:00
Firecage f8ea933b25 Thermited walls now instead leaves behind a normal burned plating. (#22831) 2017-01-09 11:05:17 -05:00
Kyle Spier-Swenson bee4b132a3 [READY]Makes addtimer use callbacks (#22660)
* Makes addtimer use callbacks

* I broke the comment

* I fucked up the regex

* this was a silly idea.
2017-01-04 16:02:56 +13:00
Mervill 94a5a4be10 Basic canUseTopic check for the bible, removed dead code 2017-01-01 05:53:49 -08:00
Joan Lung 27896031f0 Fixes not being able to light thermite on clockwork walls with a welding tool 2016-12-28 22:35:37 -05:00
ExcessiveUseOfCobblestone 803e084e8e Update minerals.dm (#22399)
Previously, obtaining points from the gulag would be very difficult since you would have to mine glass [which is only one point a pop] or test your luck at mining for minerals, the best you could get is iron and MAYBE another mineral which had a 1/>100 chance.

This hopes to alleviate the gulag sentences just a bit and make the 1:100 ratio more reasonable, while also providing useful materials for science [since they probably got enough metal from normal mining].

Yes, I DID add gibtonite for them to blow themselves up with.

🆑 Cobby
:tweak: Ups Non-Iron mineral chance for the gulag portion of lavaland. Now the 1 minute : 100 Point ratio is more reasonable.
/🆑
2016-12-25 16:17:25 +13:00
Cheridan 35362048c0 Merge pull request #22382 from ChangelingRain/uncompromising
Sentinel's Compromise will no longer heal toxin damage on slimepeople
2016-12-24 11:44:55 -06:00
Joan Lung db9d7553c7 Fixes clockwork walls/floors losing double CV if removed in a particular way (#22365) 2016-12-23 09:38:13 +13:00
Shadowlight213 ec387c8258 Fixes active turfs on ruins (#22339)
Fixes infinite loop and runtime with ruin loader running out of ruins to pick from
2016-12-22 09:11:38 +01:00
Joan Lung 6bcba9d718 This is, in fact, way easier 2016-12-21 10:14:59 -05:00
Joan Lung 021d06d17e Sentinel's Compromise will no longer heal toxin damage on slimepeople 2016-12-21 09:38:56 -05:00
Kyle Spier-Swenson 2243ab6036 [READY]Parallax (#22315)
* Ports Space Parallax from vg/yogs

* KILL ME

* fuck shit

* fixes

* rgfkbjhkefrhjkfrejhkfds

* Parallax, part 2.

* Gotta get these defines in before remie notices!

* DAMN IT! SHE FOUND ONE!

* fixes orbits

* fix orbits take 2

* Fixes some things with parallax

* Refactors parallax shuttle animations.
2016-12-20 21:55:10 -06:00