Commit Graph

15503 Commits

Author SHA1 Message Date
PsiOmega
77c52f48a8 Newscaster and photo cleanup
Synthetics can no longer magically print color images on a black-and-white photocopier.
No longer possible for organics to acquire a synth-image by un-attaching it from a newscaster.
News articles now come with a timestamp and photo captions, if anything was penned on an attached photo.
Reception-checks no longer unconditionally sleeps the thread. Was causing havoc with NanoUI.

Misc. code refactoring.
2014-11-06 13:28:17 +01:00
PsiOmega
ea874a8baa Merge remote-tracking branch 'upstream/dev' into Ghosts
Conflicts:
	code/modules/mob/dead/observer/observer.dm
2014-11-06 08:40:18 +01:00
Akai Alonkai
44f7e4edd8 Full Window returns stacked glass
Tweaked code to make a full window return a stack of two, rather than
two separate sheets.
2014-11-05 16:53:17 -05:00
Chinsky
8078ffe079 Merge pull request #6939 from PsiOmegaDelta/VerbOptimization
Verb optimization
2014-11-05 23:23:56 +03:00
PsiOmega
0f55842d0b Even less tapping.
Synths replying to messages through their PDA log or chat window should no longer cause the tapping message to appear.
Unsure if pAIs ever tapped, risk now greatly reduced.
2014-11-05 21:19:21 +01:00
MagmaRam
f922703938 Adds alternate CMO labcoat, with blue trim. It's in the CMO's locker as well as the regular (solid blue) labcoat. The CMO still spawns with the solid blue one. 2014-11-05 14:43:12 -05:00
GinjaNinja32
7a5b965907 Fixes newly-vended laptops opening windows and giving close messages 2014-11-05 17:06:01 +00:00
PsiOmega
8df53693b4 Admin event panel taking shape. 2014-11-05 17:19:04 +01:00
PsiOmega
611a8113a6 Merge remote-tracking branch 'upstream/dev' into TheGreatEvents
Conflicts:
	code/modules/events/radiation_storm.dm
2014-11-05 14:37:20 +01:00
PsiOmega
ffdf4151bd Fixes #6934
The ninja mask, shoes, and gloves are no longer hidden by the helmet and suit, ensuring ninjas no longer look like enhanced space-hobos.
2014-11-05 13:25:54 +01:00
PsiOmega
a216173271 Fixes server start runtime errors
Moves mech Z-level checks from New() to initialize() to ensure configuration has been read.
2014-11-05 13:18:35 +01:00
Atlantiscze
e0dd1fbfcf SMES UI fixes
- SMES now shows "Partially Charging" in UI when it has at least some input, but not enough to charge at set rate.
- Added yellowish-orange overlay which is used instead of the normal one if the SMES is partially charging, so you can visually see it without having to open the UI.
- UI input/output rate fields are now 20px wider. This fixes issues with values that exceed 1 000 000 W. Such values are possible with multi-coiled SMESs.
2014-11-05 12:55:58 +01:00
PsiOmega
bc438e21ad All the relevant examine changes. 2014-11-05 12:44:23 +01:00
Atlantiscze
8165c5db7e Magnetic gripper can now pick up magnetic coil (SMES construction part) 2014-11-05 12:11:36 +01:00
Atlantiscze
8a736f1c42 Typo fix from previous commit. 2014-11-05 11:45:24 +01:00
Atlantiscze
4560b7cc61 Buildable SMESs now work properly with power restore secret.
- Instead of setting SMES to output hardcoded amount, maximal value deducted from that SMESs variables is used.
- For example, the engineering SMES is quadcoil type, giving it maximal output of 1MW. However, hardcoded 200kW would be barely enough to run the station.
2014-11-05 11:43:13 +01:00
Atlantiscze
1a274475d1 Fixes SMES deconstructing yielding no parts.
- Damn you indentation.
2014-11-05 11:33:14 +01:00
Atlantiscze
a93b6313e0 Buildable SMES overload EM pulse now won't now slow other effects from happening (which was not intended and can be noticed, espicially with larger overloads.) 2014-11-05 11:21:35 +01:00
Atlantiscze
6db4b04dc0 Colored Cable Fix
- Cables are now properly colored when placing them with colored cable coil (instead of always making red cable)
- Removed duplicate definition of color (color and item_color), only var color is now used. That probably caused this issue in first place.
2014-11-05 11:12:39 +01:00
Atlantiscze
7a42102eb8 SMES interaction fixes
- Removing/adding terminals no longer shows the wrong warning messages.
2014-11-05 10:47:56 +01:00
Atlantiscze
805159a4b2 Powernet Update Fix
- Fixes issues caused when makepowernets() was somehow called.
- Substations (or read, breakerboxes) work properly now. Tested.
- Powernets no longer decide to randomly stop working when stuff is being modified.
- Mostly temporary fix until next devmerge which will (hopefully) add /tg/ powernet code.
2014-11-05 10:35:17 +01:00
PsiOmega
e19a79a340 Ports verb-optimizations from /tg/
The examine, pull, and point verbs now below to the mob instead of all atoms. Based on discussion here: http://www.byond.com/forum/?post=1326139&page=2#comment8198716
As a bonus ghosts can now point. Ghost pointing should only be visible to other ghosts unless made visible by cult activities.
2014-11-05 08:52:56 +01:00
Chinsky
ed8963eb2a Merge pull request #6876 from PsiOmegaDelta/Jukebox
Area-based Jukebox
2014-11-05 09:24:09 +03:00
Chinsky
e8b8c7ab55 Merge pull request #6931 from PsiOmegaDelta/MoreZ
More Z-level compatibility
2014-11-05 09:21:52 +03:00
Chinsky
1e10b76b25 Merge pull request #6932 from PsiOmegaDelta/RoboDestruction
Cyborg detonation notice
2014-11-05 09:20:57 +03:00
Chinsky
8451802dc7 Merge pull request #6933 from PsiOmegaDelta/News
Fixes #6747
2014-11-05 09:20:35 +03:00
Chinsky
33dfdf2c41 Merge pull request #6944 from Walter0o/robo_join
fixes robo- and amputated limbs not working on spawn
2014-11-05 09:05:17 +03:00
Chinsky
d28d7b8c2f Merge pull request #6846 from mwerezak/fire-extinguishers
Water cools hot turfs even if they do not have a hotspot.
2014-11-05 09:03:35 +03:00
Akai Alonkai
7243fdb284 Add Window Dismantling
Enables dismantling of a window (100% return) with a wrench, if the
window is fully unsecured. Windows which cannot be dismantled will
return a message saying so for clarity. Dismantling displays a visible
message for clarity.
2014-11-05 00:24:56 -05:00
mwerezak
fc6f3ea685 Fixes #6299 2014-11-05 00:03:39 -05:00
Mloc
ac79e23905 Merge pull request #6928 from Ccomp5950/uplink_fix
"Exploit Menu" uplink fix.
2014-11-04 20:14:18 +00:00
Walter0o
3c1780a301 fixes robo- and amputated limbs not working on spawn
i pulled in some patches from upstream today, then my players reported
robotic and amputated limbs are not appearing on spawn.
not exactly sure what happened here, but it looks like
somebody tried to fix one issue and created a bigger one.
organs are never in both organs_by_name and internal_organs_by_name,
so the flag setters became unreachable due to "if(!I || !O) continue"
2014-11-04 20:33:43 +01:00
PsiOmega
d9b420642a Manifest ghost visibility-toggle
Ghosts which have been made visible by cultists can afterward turn themselves (in)visible at will, with a cooldown before being able to turn themselves visible after having faded from sight.
2014-11-04 17:59:29 +01:00
PsiOmega
a9ef2b61c0 Wiring Upgrade
Continues the wiring upgrade. Now cameras, airlocks, robots, and air alarms also use the new wire datum system.
Global wiring code is now removed but there are sneaky objects which didn't rely on them such as mulebots and autolathes.

Fixes a few issues from the previous upgrade.
2014-11-04 14:27:46 +01:00
Ccomp5950
789906cae2 Merge pull request #6926 from mwerezak/pipe-layer
Fixes #6355
2014-11-04 02:17:41 -05:00
GinjaNinja32
6c874842e1 Fix emergency shields activating without being turned on 2014-11-03 18:48:03 +00:00
PsiOmega
cb6a855292 Cyborg detonation notice
When a cyborg is detonated by a cyborg console  the AI is now notified about the event.
Violently applied destruction remains without notice.
2014-11-03 19:40:24 +01:00
PsiOmega
2a5e685e6e Fixes #6747
Channel names are already HTML-stripped on creation. Removes second HTML-stripping when attempting to post a new story as this appears to break name comparison later.
PDAs should now properly display stories with newlines.
2014-11-03 10:39:51 +01:00
PsiOmega
fc67087d7a More Z-level compatibility
Previously missed Z-level checks in the form "z  != X".  Utilized this regex which hopefully has cought most of them [zZ](\s?)(!?)=(\s?)(\d+).
Adds more Z-level configuration, admin levels.
2014-11-03 09:57:56 +01:00
PsiOmega
ff14da90b3 Random Event Overhaul
Alters the event controller based on http://baystation12.net/forums/viewtopic.php?f=5&t=10706.
Exception is that there is always some start time variance to prevent metagaming.

Mundane, moderate, and major events run on their own timers and start and run independantly of each other.
Multiple events of the same severity degree can run at the same time. However, currently only one instance of the same event can be active at a time.
2014-11-03 09:22:37 +01:00
ccomp5950
9363af2a09 "Exploit Menu" uplink fix.
Double quotes will no longer break the json nanoui uses to display the data.

This fix removes the ability to use html and javascript (exploitable for nefarious reasons)

Specifying exactly what we want instead of assigning nanoui_data["exploits"] = L.fields
which passes by refernce instead of by value.

It allows us to also sanitize the input so everything that gets displayed in nanoui doesn't have html
2014-11-03 01:15:44 -05:00
mwerezak
6ac3c4c359 More custom loadout jackets + bandana
Adds custom loadout gear:
Searif's brown leather jacket, NT brown leather jacket, and grey hoodie.
Also brings back the orange bandana, and adjusts some siemens
coefficient values that weren't making sense.
2014-11-02 22:51:33 -05:00
mwerezak
5dcda61181 Fixes #6355
Not sure why it was commented it out, but it seems to be the cause of
the layer issues.
2014-11-02 20:33:41 -05:00
mwerezak
a33fd1a2c6 Merge remote-tracking branch 'upstream/dev' into fire-extinguishers 2014-11-02 10:33:16 -05:00
mwerezak
7e2e44a61a Adds Searif's leather jackets as a custom gear 2014-11-01 23:12:21 -04:00
Ccomp5950
55ddbd10ff Merge pull request #6923 from mwerezak/climbing
Fixes #6660
2014-11-01 22:31:57 -04:00
Ccomp5950
01c507615d Merge pull request #6914 from PsiOmegaDelta/Bolts
More Mapping
2014-11-01 22:29:39 -04:00
Ccomp5950
9e1dfa2d97 Merge pull request #6919 from mwerezak/custom-loadout
Custom loadout updates
2014-11-01 22:29:24 -04:00
Chinsky
7bfa2661fb Merge pull request #6916 from Mloc/bs12-server
serverside fixes
2014-11-02 04:47:26 +03:00
Chinsky
e81a478bf3 Merge pull request #6907 from PsiOmegaDelta/EmergencyShutters
(De)constructable emergency shutters.
2014-11-02 04:47:20 +03:00