Commit Graph

264 Commits

Author SHA1 Message Date
Mloc
fbb67b2e42 Huge commit! Standardizes var definitions in most places.
Signed-off-by: Mloc <colmohici@gmail.com>
2012-05-29 16:26:48 +01:00
SkyMarshal
7a37d9bb05 Merge pull request #1167 from Erthilo/TGUpdates
TG Updates r3648 to r3657
2012-05-28 11:52:44 -07:00
Erthilo
8deaf5fd7e Fixes PDA light not turning off when exploded by a detomax. 2012-05-26 23:59:31 +01:00
Erthilo
6e289dabfc TG: Sanitized a large number of input()s.
- Hopefully this will cut down on the server spamming/crashing escapades
happening on other servers. (This wont stop that from happening, this just makes
it less severe)
- Some of the sanitizes were probably unnecessary, but better safe then sorry.

Added MAX_NAME_LEN constant which is initialized to 26.
- Please use MAX_NAME_LEN instead of typing in 26 when cutting inputs short.
26's are annoying when they have to be changed and you have to hunt through over
a hundred files and tens of thousands of lines of code to find them all.

Moved uplink_kits.dm to code/game/objects/storage

Moved uplinks.dm to code/game/objects
- The stuff inside uplinks.dm could really be chopped up and split into separate
dm files but this will do for now.

*********************************************************
**********************Important**************************
*********************************************************
When you create code that asks the user for an input consider whether or not it
gets shown to the user through html or the like.

If it does please sanatize() or strip_html() it. Also use copytext() to cutoff
spam by using MAX_NAME_LEN and MAX_MESSAGE_LEN as the cutoff var.
Revision: r3652
Author: 	 johnsonmt88
2012-05-26 00:09:56 +01:00
Erthilo
075e8730bc TG: RIG helmets can now be used as flashlights, just like hardhats. Credit to Sly
for the sprites.
Revision: r3638
Author: 	 ericgfw...@hotmail.com
2012-05-23 17:47:25 +01:00
Erthilo
7894a7e0ef TG: - PDA messaging reworked a bit. If you receive a message with your PDA somewhere
on your person (so not in a backpack), the message will be displayed to you in
the text box along with the name and rank of the sender. A reply button will be
next to this to make replying easier. The PDA beep will still appear and the PDA
must not be in silent mode for this to work.

Screenshot:
http://www.kamletos.si/PDA%20communication%203.PNG

Added this to the changelog.

Revision: r3628
Author: 	 baloh.matevz

-Added confirmation prompt when calling the shuttle as an AI
-Glass airlocks no longer super-silent

Revision: r3629
Author: 	 ericgfw...@hotmail.com
2012-05-21 17:20:23 +01:00
SkyMarshal
58570a0f65 As many bugfixes as I could cram into here. 2012-05-20 14:23:10 -07:00
cib
bc782cb575 Merge github.com:Baystation12/Baystation12
Conflicts:
	html/changelog.html
2012-05-19 19:42:30 +02:00
cib
5bd2508fbc Added Meme weaknesses, added more Meme verbs. 2012-05-18 16:31:40 +02:00
Erthilo
496d6ce13b Merge branch 'master' of github.com:Baystation12/Baystation12 into TGUpdates
Conflicts:
	code/defines/obj/supplypacks.dm
	icons/mob/items_lefthand.dmi
	icons/mob/items_righthand.dmi
2012-05-15 00:51:50 +01:00
Erthilo
0a7c3f8538 TG: -New PDAs for roboticists and shaft miners.
Revision: r3589
Author: 	 d_h2...@yahoo.com
2012-05-15 00:41:30 +01:00
SkyMarshal
b2d2bff7a2 Add the capability for the NT chatbot pAI to use the PDA's messaging function instead of the system it had been. Also, several bugfixes for runtimes. 2012-05-14 12:19:15 -07:00
SkyMarshal
15d72e3b0e Improves how gas mixture datums are handled, reduces proc calls, commenting. Removed ghost-heating from cryo and "oxygen_agent_b" gas type. 2012-05-11 18:02:30 -07:00
Erthilo
08191c824d Merge branch 'DetectiveWork' of https://github.com/SkyMarshal/Baystation12 into SkyMarshal-DetectiveWork
Notes:
Fucking hell. Makes the detective backend shit non-retarded. <3 Hashtables.
Map changes. Some improvements/adjustments to code to work with the map changes.

Conflicts:
	baystation12.dme
2012-05-10 16:48:01 +01:00
SkyMarshal
ef7f71a963 Fucking hell. Makes the detective backend shit non-retarded. <3 Hashtables. 2012-05-09 12:01:27 -07:00
Erthilo
7b3bfada34 TG: - Added a 'remove ID' verb to PDAs which attempts to remove the ID from a PDA.
If your active hand is empty it puts it there, otherwise it puts it on the floor
under you
- Added this to the changelog.
Revision: r3531
Author: 	 baloh.matevz
2012-05-06 19:40:16 +01:00
Erthilo
f2777aa65f TG: Tonnes of stuff, please check the changelog.
In short: massive updates to security, the library, hydroponics, the kitchen and
the bar, by Flazeo and Ikarrus
Massive updates to the PA, with Invisty's new sprites, done by Sieve
New sprites for field gens too, also by Invisty
Borg and battery updates by Sieve
Fake gloves by Sieve
I messed around with some pressure_resistance stuff on Dumpdavidson's suggestion
(only in paperwork)

PROBABLY A BUNCH OF OTHER SHIT
Revision: r3505
Author: 	 petethegoat
2012-05-06 18:26:41 +01:00
Erthilo
7be4fd6755 TG: -Added sprites for fat hulks and fat lizardmen. Have fun with that, weirdos.
-New carrot in-tray sprites.
-Added define for bottle of adminordrazine and supporting code for injecting
adminordrazine into plants. Basically for debugging, so I don't have to spend 10
minutes injecting plants with mutagen each time.
-Raised the passive species-mutation chance slightly. For real this time.
-Added sprites for red and yellow floorbots into aibots.dmi.
-New PDAs for the botanists and librarian. Sprites for cartridges for both too.
(There's some work into a botany cartridge but it's commented out for now)
Revision: r3498
Author: 	 d_h2...@yahoo.com
2012-05-06 00:45:31 +01:00
Ren Erthilo
f7e4ab6975 TG: Adds randomlly spawning rooms to the mining asteroid that contain various
goodies.  (Among them are a modified traitor beacon, a cloaking device and a
closet full of resources so you can go build your own honk.)
These rooms will spawn at least out of range of space and the explored pathways,
so at the very least some mining is required to even detect them with mesons.
Adds a borg upgrade system. Right now, it just contians a borg reset module that
allows the borg to choose their module again.  Adds some support code to borgs
to suppot flashproofing and renaming.
Adds a few various admin commands like a quick-list of objects (which is
hardcoded) and a command to break the local air group.
Revision: r3415
Author: 	 VivianFoxfoot
2012-05-02 00:21:18 +01:00
Ren Erthilo
6c98b2048c TG:
Removes poo. XSI and co. weren't very fond of it, and the last thing I would do
is make them uncomfortable and challenge their leadership by keeping poo in.

An experimental lagfix, which removes a couple THOUSAND unnecessary machines
from the machine processing list. Please report any unresponsive machinery (as
result of this commit) as HIGH PRIORITY issues. I'm not quite sure how much lag
this will kill, but I'm confident that it will be at least slightly noticeable.

More work on step_triggers. The escape shuttle should no longer blast things
forever and give them infinite momentum.

Runtimes goin down for the count
Lookin at the ground
I think they a hater
Revision: r3370 r3371
Author: vageyenaman quartz235
2012-05-01 00:36:20 +01:00
Ren Erthilo
471907d21d Compile fix. 2012-04-26 23:20:00 +01:00
Ren Erthilo
35388d501d TG: Updates handheld-flashes so that they cannot break on their first use. Their
chance of breaking is directly proportional to their frequency of use (ranges
from 0% to 5%, used to be a blanket 2%). Their capacitor recharges one charge
every 60 seconds. Once their 6 charges are used up, they temporarily stop
working whilst their capacitor recharges. This should mean that flashes will
last a long time with light use (defence/rev), but not for spamming
(shitcurity).
Can now job-ban people from entire departments through the jobban panel.
Can now job-ban people even if they log out.
Job-ban panel now informs you why people were banned from each job.
Runtime fixes for some old jobban code that was preventing the above stuff.
Committing some fixes Nodrak pointed out.
Credits go to Nodrak for a lot of this.
Revision: r3285
Author: 	 elly1...@rocketmail.com
2012-04-26 23:14:02 +01:00
Ren Erthilo
c653d31ccb TG: PDA messages now require an active messaging server.
The admin rejuvenate command now stabilizes body temperature as well.
Revision: r3282
Author: 	 VivianFoxfoot
2012-04-26 22:57:19 +01:00
Ren Erthilo
d5d4e8b506 TG: Fixes for detective work. Should fix some of the massive lag, probably caused
by all those list()s that were being made for every atom.  And this is why I
should not code at 2AM.  (A UI overhaul-ish thing will come soon for the
detective computer.)
Revision: r3257
Author: 	 joe.heinemeyer
2012-04-25 23:26:42 +01:00
Ren Erthilo
b4117291f8 TG: Fix for spamming recorder transcripts
Revision: r3179
Author: 	 quartz235
2012-04-24 19:58:04 +01:00
Ren Erthilo
2a32365032 A better fix for scanner verbosity toggle. 2012-04-23 00:01:35 +01:00
Ren Erthilo
873ca4e4b2 Fix for scanner verbosity toggle. 2012-04-22 23:21:47 +01:00
Erthilo
a164d6f1a2 Compile hotfix. 2012-04-23 00:10:14 +02:00
Ren Erthilo
c4a1dd4f0f Fix for health scanner not switching modes. 2012-04-22 21:55:00 +01:00
Ren Erthilo
bae7ec23d9 TG: - Desk lamps are now just fancy flashlights. Which means you can pick them up.
They have w_class set to 4 and don't have the onbelt flag, meaning you can't put
them in any container and you can't put them in a pocket. Click on them to pick
them up, use the toggle-light verb to turn them on or off. They are no longer
affected by light switches (desk lights generally aren't anyway)
- Updated lamp type path on both uterus and 2.0.8
Revision: r3115
Author: 	 baloh.matevz
2012-04-22 21:16:52 +01:00
Ren Erthilo
b1900af5fb TG: Commited on behalf of Nodrak
- Fixes:  Issue 257 ,  Issue 346  and  Issue 343
- Monkeys no longer continue to take suffocation damage after dying.
- PDAs can no longer be used while stunned or paralysed.
- Vending machines now have a delay to stop product spamming.

Note: I upped the delay a little as it was still pretty spammable when I tested
it, seems to be fine now as it's way more effort than it's worth to empty a
vending machine.
Revision: r3107
Author: 	 trubblebass
2012-04-22 20:25:21 +01:00
Ren Erthilo
2a3369e99a Adds detomax and grenade logging. 2012-04-19 23:01:06 +01:00
Ren Erthilo
242648c256 Properly adds attack logging to a separate attack log. Also adds logging for flashbangs. Config change too! 2012-04-19 20:18:24 +01:00
Ren Erthilo
249f38d464 Adds a click sounds for empty guns. Adds supervisors for the AI. Adds some A17 implants and sprites. 2012-04-17 19:02:18 +01:00
Ren Erthilo
301838688f TG: - (Added for Rolan) Medscanners now have a toggleable option to check for injury
on each limb, and the help intent now shows what kind of damage someone has on
each limb.
Revision: r2972
Author: 	 LastBatt...@hotmail.com
2012-04-16 21:07:09 +01:00
CIB
193efcd6a0 Merge pull request #844 from Erthilo/TGUpdates
TG Updates up to r2962
2012-04-16 08:05:11 -07:00
Ren Erthilo
32320b71d4 Small fix for detective's scanner printing blank ID cards. 2012-04-16 12:37:21 +01:00
Ren Erthilo
2a2f66c0d5 TG: Runtimes are funtimes!
Revision: r2941
Author: 	 quartz235
2012-04-15 17:07:25 +01:00
SkyMarshal
49d6a0092c Fixes for a lot of implant things. Fixes some runtimes related to explosive and death alarm implants. 2012-04-10 12:38:34 -07:00
Ren Erthilo
9c0ff3844b Readds remote control links to air alarms. Fixes implant messages. Reduce PDA flashlight range. 2012-04-08 08:21:04 +01:00
Ren Erthilo
ae57f8db64 Merging SkyMarshal's stuff. 2012-03-30 16:26:04 +01:00
SkyMarshal
08a060501b Merged in Erthilo's stuff. 2012-03-29 21:11:17 -07:00
SkyMarshal
01d2d5f339 WIP bloodloss and scaring system. 2012-03-29 20:42:08 -07:00
Ren Erthilo
77636ce696 TG: Fixed issue 287 , 290, 291
-Cutting/restoring cameras now leaves a print
-building certain overly-abused griff items leaves prints
-grenade launcher no longer shoots your face if you try to backpack it

Chameleon projector movement speed is now based on temperature
Added add_hiddenprint(mob) proc
it's like add_fingerprint but only adds to fingerprintshidden isn't that neat? r2898
2012-03-27 05:57:51 +01:00
Ren Erthilo
470d767369 Reverting registered_name change. Reverting area name changes. Reverts Plasma Steel and object changes. 2012-03-26 15:47:39 +01:00
Ren Erthilo
089e844be9 A large amount of groundwork for /tg/ code. Comes with some gameplay changes.
* + You now take severe brute damage in environments over 750kPA. A new HUD icon warns you when it's above 500kPA. Space suits block this.
* > Welding fuel tanks explode when shot.
* > Riot shields prevent you from being pushed.
* > People cannot be shoved when being pulled and handcuffed.
* > The internals button on the hud now works for tanks in almost any area, such as your pocket.
* > No more popups when you insert your ID into your PDA. There's a link in the PDA menu to update info.
* - Removed photo system from ID's as it doesn't work.
2012-03-26 03:16:01 +01:00
Ren Erthilo
fd338632c5 Fix for machine messages. Fix for previous health analyser commit. Added New Engineering Space Suits. Prevented wasting resources while fixing cyborgs. 2012-03-21 19:30:48 +00:00
Ren Erthilo
fdb0abce2a * > Made health analysers able to detect bone fractures.
* > Made pulling lying down people slower. Use roller beds people!
2012-03-21 16:08:30 +00:00
Mloc
ba7768074c Merge pull request #680 from Erthilo/master
Medical changes, increased vending points, virus dish fix.
2012-03-15 15:06:07 -07:00
Ren Erthilo
61a82b22bb Fix for labeling virus dishes. Removed health analyzer from first-aid kit.
Made bruise packs and ointment only work above 50 health.
Added advanced treatment for future use.
Made MD's and CMO spawn with health analyzers.
Reduced medical equipment in non-medbay areas.
Made Health Scanner HUDs displays more granular.
2012-03-15 21:46:11 +00:00