Commit Graph

108 Commits

Author SHA1 Message Date
caelaislinn
2b9b845daf possible fix for a conveyor bug
Signed-off-by: caelaislinn <cael_aislinn@yahoo.com.au>
2012-06-15 00:06:20 +10:00
Erthilo
0890d48439 Merge branch 'master' of github.com:Baystation12/Baystation12 into TGUpdates
Conflicts:
	maps/tgstation.2.0.8.dmm
2012-06-07 19:58:21 +01:00
SkyMarshal
1059311b5b Debugged ZAS. Removed another duplicate proc. Made sure turf changes are added to the air_master to be updated. Fixed errors on the map causing problems. Added different sized packages. Airflow readded. 2012-06-07 01:15:14 -07:00
Erthilo
eb7ae97624 TG: Welding tool: Mostly code-related, the players won't notice much.
- Welding tool code how has proper comments! Maybe not "proper" but at least I
don't lie and say a proc is/does something that it doesn't actually do.
- Welders now start full of fuel instead of some random amount between 10-20
- Someone decided it would be a good idea to set the welding tool's 'on/off' var
in a ton of attackby() procs. These objects and turfs shouldnt even touch this
variable. This is why people have been noticing their welding being on without
the sprite or damagetype and amount reflecting that.
- - I've removed a bunch of these instances but there are so many objects and
turfs spread out through the code, there's no way to know if I've got them all
(This is the majority of the files)
- - I've created a new proc in welding tools that checks to see if they are
turned on or not. "isOn()"
- - Since I'm not sure if I've gotten every instance of this force-var-on, I've
set the welding tool to update it's icon every process(). I hate adding checks
like this to processes but it's necessary for now.
- Added a setWelding() proc. If you HAVE to turn the welding tool on or off, use
this, don't just change the var. In fact, dont even touch the 'welding' var
anymore
- Fixes  issue 435

While changing the hundreds(literally) of cases of welding tool uses I've
- Changed some :'s (object:varorproc) I've come across into .'s
(object.varorproc)
- Added checks to make sure the welding tool is actually on before using it
(some attackby()'s didnt have this. Heck, some checked how much fuel you had,
but didn't actually USE the fuel)
- Added sanity checks after some do_after()s that were missing them

Added traitor uplink items back to erro's stat tracker
- Added 'random' with the tag "RN"
- Added thermal meson glasses with the tag "TM"
- Reorganized uplinks.dm a little by moving the 'random' item generation to its
own proc
- NOTE: I have absolutely no way to test this on my own, but it should work!

I've tested a bunch of construction/deconstructions with the welding tool, but
again I've probably missed a few things. If there are any problems, please let
me know and I'll fix them asap.
Revision: r3741
Author: 	 johnsonmt88
2012-06-07 03:30:13 +01:00
Erthilo
612d1593a3 TG: Disposal update
* You can now Drag-Drop disposal pipes and machinery into the dispenser, in
order to remove them.
* You must now use wrench before welding a pipe to the ground
* You can no longer remove a trunk untill the machinery ontop is unwelded and
unwrenched
* You are now forced to eject the disposal bin before unwelding it.

Thanks to whoever said the bugs in OOC. (Sorry, unable to remember names)
Revision: r3734
Author: 	 daniel.cf.hultgren
2012-06-07 01:48:23 +01:00
Erthilo
218bf6643c Shortened MAX_NAME_LEN to 32. Change some MAX_MESSAGE_LEN's to MAX_NAME_LEN's 2012-06-02 22:53:19 +01:00
Erthilo
36effbacc2 TG: There's a metric assload of stuff here, mostly in preparation to my massive
traitor expansion, so I'll try to be brief:

- I added in the foundations for traitor factions. See factions.dm for all the
different faction datums. They don't do anything yet.

- I completely ported mob/var/mutations from a bitfield to a generic list.
Mutation enumerated-identifiers are added into this list. For instance, TK = 1,
COLD_RESISTANCE = 2, XRAY = 3, etc... The purpose of this was because bitwise
operations could not actually be used after a certain size (because BYOND is
stuck in the 16bit era).

- I've added in completely-functional nano-augmentations. Check under
implantnanoaug.dm for a list of implants and implaners. As mentioned previously,
they are completely functional but may be slightly OP. Among these nanoaugs are
Super Strength, Psionic Radar, Electric Hands, Energy Blade/Sword Synthesizer,
Rebreather, Dermal Armor, Combat Reflexes, and Regenerative Nanorobots. I won't
go into detail as to what they do, but hopefully they should be self-
explanitory. If not, check out their descriptions in the file previously
mentioned.

- Added in a future traitor item, the Mind Batterer. Along with it a new .ogg
file.

- New telecomms bus mainframe sprite, thanks to WJohnston.

- New holdable shield, sprites courtesy of Muncher (i had to mangle the side
sprites because of a technical little issue. I'll change it back to the original
soon). It can be retracted and expanded. Probably only going to be given to
traitors.

- A couple of minor bugfixes here and there, along with some code tidying.

Hope this isn't too large a commit. I intended it to be MUCH larger, but I've
decided to split up my Traitor Factions expansion into smaller commits.
Revision: r3692
Author: 	 vageyenaman
2012-06-02 19:46:18 +01:00
Erthilo
20fcd32f68 TG: Revolutionary update!
You can now dispense Disposal Bins, Outlets and Chutes from the disposal
dispenser. These are movable and you can attach them above open trunks with a
wrench, then weld them to attach them completely.
You can remove Bins by turning off their pump, then screwdriver, then weld, then
wrench. Same with outlet and chute except for the pump part.
Revision: r3690
Author: 	 daniel.cf.hultgren
2012-06-02 15:45:58 +01:00
Erthilo
8e72965077 Merge branch 'master' of github.com:Baystation12/Baystation12 into TGUpdates
Conflicts:
	code/game/objects/items/weapons/cigs_lighters.dm
	code/game/objects/items/weapons/grenades.dm
	code/game/objects/items/weapons/implants/implant.dm
	code/game/objects/radio/headset.dm
	code/game/objects/radio/radio.dm
	code/modules/assembly/assembly.dm
	code/modules/assembly/holder.dm
	code/modules/clothing/glasses.dm
	code/modules/mob/living/silicon/robot/robot_modules.dm
	code/modules/paperwork/paper.dm
	code/modules/research/circuitprinter.dm
	code/modules/research/protolathe.dm
	icons/mob/suit.dmi
2012-05-31 15:09:35 +01:00
SkyMarshal
c82b90e24d Some comments, tweaks, and improvements to detective work, evidence bags, and packages. 2012-05-30 13:27:20 -07:00
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
Erthilo
a7dd312b3e TG: - Removed support for the ONBACK and ONBELT flags.
- Replaced them with a whole range of inventory slot flags. These now govern
whether an item can or can't be placed in a certain inventory slot. See setup.dm
for information on the flags. These flags only affect humans tho, as humans are
the only beings with an inventory to talk of.
- Standardized some gun code and some other pieces of code as I came accross
them. I hate indented variable definitions!

This commit should not bring any change whatsoever to the game from a player's
perspective.
Revision: r3659
Author: 	 baloh.matevz
2012-05-28 22:58:57 +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
caelaislinn
3e86a24489 wip antiqua, wip birdman, conveyors push items into crates now
Signed-off-by: caelaislinn <cael_aislinn@yahoo.com.au>
2012-05-18 04:08:43 +10:00
SkyMarshal
caae780677 Map changes. Some improvements/adjustments to code to work with the map changes. 2012-05-09 14:36:01 -07:00
Ren Erthilo
e1c69ed8a1 Commented out metadata and some other non-sensical stuff. 2012-05-02 21:22:19 +01:00
Ren Erthilo
d6d3d60e0d TG: Disposal and welding helmet exploit fixes:
- You can no longer toggle the welding helmet when stunned or restrained.

- You can no longer give yourself all-access via-disposals. Living mobs and
living mobs inside of a container cancel their holder's destination. This still
allows people wrapped in lockers to be sent to their proper destination, however
it would require someone on the other end to open it. So it's their fault for
not dragging it out before opening it.
Revision: r3400
Author: 	 johnsonmt88
2012-05-01 20:13:51 +01:00
Ren Erthilo
1c661ab5ea TG: Fixin runtimes and wooing the hot womenfolk
Revision: r3340
Author: 	 quartz235
2012-04-29 22:57:52 +01:00
Ren Erthilo
c2a1c149df TG: Fixed and further improved package wrapping. Added a sprite for wrapped closets.
Revision: r3302
Author: 	 petethegoat
2012-04-28 17:42:36 +01:00
Ren Erthilo
d06c5e0d0c TG: Sanity checks, miscellaneous bugfixes, failsafes.
Disposals no longer indiscriminately let items land inside it - the items have
to have been thrown by someone.

The ongoing attempt to fix the thousands of runtimes plaguing the game.
Revision: r3195
Author: 	 vageyenaman
2012-04-24 21:20:11 +01:00
Ren Erthilo
757b76c456 TG: A couple sanity checks i forgot to include in disposals
These might prove to be pointless but i'd rather be overly cautious about
something that crashes a server in 3 seconds flat
Revision: r3191
Author: 	 quartz235
2012-04-24 21:04:05 +01:00
Ren Erthilo
771c594d00 TG: (hopefully) fixes a runtime causing the server to shit itself and crash
immediately
Revision: r3190
Author: 	 quartz235
2012-04-24 21:02:47 +01:00
Ren Erthilo
6532691563 Reduces adminspam and adds knocking on windows. 2012-04-24 01:19:09 +01:00
Ren Erthilo
ca0430f59e TG: Jetpacks can now use any gas.
The /obj/item/weapon/tank/jetpack path is now an empty jetpack, and oxygen and
carbon dioxide filled jetpacks are /obj/item/weapon/tank/jetpack/blue_jetpack
and /obj/item/weapon/tank/jetpack/black_jetpack respectively.

Added a new kind of disposal, the deathsposal (it's not called that in game).
It's the same as a normal disposal, except it has a red rim to indicate that it
leads to space.
2012-04-23 22:16:55 +01:00
Ren Erthilo
60caca6a2a TG: Fixed projectiles going into disposals.
Made the rapid syringe gun a subtype of the syringe gun, and reduced it's
capacity to four syringes.
Fixed the examine bug on syringe guns.
Added a new sprite for the regular syringe gun.

Added a new door for research. It's also used in robotics.

Updated the air injector sprite.

Fixed some pepperspray spelling errors.

~~REMOVED~~: the energy crossbow and chemsprayer from R&D.
2012-04-23 21:40:36 +01:00
Ren Erthilo
696f8ad5aa TG: - Removed the table where mail gets to at mail sorting because mobs keep getting
stuck there.
- You can no longer control disposal units from within them!
- Disposal units now auto trigger every 30 game ticks, if they are fully
pressurized and if they have something (or someone) in them. So no more hiding
in disposal units!
- Added this to the changelog.
Revision: r3108
Author: 	 baloh.matevz
2012-04-22 20:45:19 +01:00
Ren Erthilo
fcb08473af TG: Committing the one-way conveyor switches as posted by Donkieyo
http://nanotrasen.com/phpBB3/viewtopic.php?f=16&t=7759

They are currently present in the mail office.
Revision: r3104
Author: 	 baloh.matevz
2012-04-22 20:14:14 +01:00
Ren Erthilo
d14be222b8 Fixes cyborgs putting items on Operating Tables and Janitor Borgs trashbags. 2012-04-15 01:29:38 +01:00
SkyMarshal
5b3ad2a925 Made transformations between mobs with organs work better. Destroying a limb removes implants. Implants now go where you select. Fixed some runtimes and retardedness. 2012-04-05 21:55:41 -07:00
Ren Erthilo
0d1412efdf TG: Fixed some runtimes.
Virus2 has been effectively removed from the code as it was not actually used
and was causing some runtimes.
The PA is now properly affected by meteors/blobs/bombs. r2903
2012-03-27 06:34:33 +01:00
Ren Erthilo
8d03d460aa TG: Moved a batch of unchecked and a few unused files into the unused folder.
Remember if your scrolling though the list and something is unchecked it should
almost certainly be checked.
Simple animals moved over to the actual mob code area and out of the defines. r2868

Also added a bunch of files I forgot.
2012-03-26 23:01:03 +01:00
Ren Erthilo
bde1ea8ee3 TG: Atmos techs now spawn with extended capacity emergency tanks
AIs/Cyborgs can no longer drink from the toilet or wash themselves in sinks for
the good of IMMERSION r2836
2012-03-26 18:12:42 +01:00
Ren Erthilo
f2fa1493e8 TG: Unsecured disposal pipes are now density=0, so you can walk over them. r2818 2012-03-26 18:07:59 +01:00
SkyMarshal
5c0ddb031d Merge pull request #738 from Erthilo/master
Adds alternate CMO labcoat, engineering crates need proper access, test code for implant only taser firing, changes to overdose, and more bugfixes
2012-03-24 18:04:03 -07:00
SkyMarshal
f45aff1bae Chameleon Jumpsuit now has armor, space tiles now get generated faster, fixed fingerprint runtime, optimized autosay, fixed crates + package wrappers, retired admins are no longer spammed, can now click through blindness, packages and evidence bag contents now count toward traitor objectives, stunning and such stops you instantly, guncode improvements. 2012-03-24 17:21:31 -07:00
Ren Erthilo
69e7a64fb4 Fixed conveyor belts being above crates. Fixed a turret not turning off in the AI core. Added a camera to let the AI see core doors in freelook. 2012-03-24 00:57:23 +00:00
Miniature
ddc9798af9 Made disposals not kill people's ears mk2 2012-03-19 21:43:55 +10:30
Miniature
579bffa737 Made disposals only play the exit sound once at a time, fixed a compile error (sky, seriously), made fluff items fit in pockets properly 2012-03-11 21:20:47 +10:30
SkyMarshal
7534154fa2 Cleaned up some code, fixed a bug with dead/sleeping people seeing you talk into headsets, reworked guncode some, readded point-blank shooting, removed disposal space cannon, hacktool works on windoors and secure closets, now. 2012-03-05 12:27:55 -07:00
Albert Iordache
1575df93ce Merge pull request #614 from comma/master
Some derpfixes
2012-03-03 22:26:54 -08:00
comma
5ad05105f4 Small bugfix to ashtrays and cig butts
Now can throw out ashtray shards. 'ciguarete butt butt' should not appear anymore.
Also glass ashtray now shatters with sound
2012-03-04 06:45:14 +02:00
SkyMarshal
1107f6e768 Fixes for package wrap, added proper buttons and hotkeys to the gun system, fixed PDA manifest. 2012-03-03 15:08:01 -07:00
comma
ee09389f5b Merge branch 'master' of https://github.com/Baystation12/Baystation12
Conflicts:
	baystation12.dme
2012-03-02 22:04:20 +02:00
comma
2edd73627d Added ashtrays
Breakable. Spill contents on breaking or hitting the solid stuff after being thrown.
Have limited capacity. Can be emptied in disposal outlet.
Change sprite when are half-filled and filled.
Also fiddled a bit with the cigs code, so you can put them out without dropping.
2012-03-02 21:56:08 +02:00
SkyMarshal
0d8c7d5e51 Reworked the gun system to handle hostage scenarios better.
Ported and adjusted with permission from Lost Worlds.
2012-03-01 19:20:39 -07:00
SkyMarshal
4524a2ff10 Disposals for mining, final blood_DNA stuff, cleaned up more code, fixed some scattered bugs, added 50% chance to end up in deep space. 2012-02-29 13:48:16 -07:00
SkyMarshal
66f38fb34b TG UPDATE: Updates to telecomms, bug&runtime fixes, manifest for all, improved nuclear bomb.
All PDA's can access the manifest.
Nuclear bomb now works on realtime.
Telecomms not mapped yet.
Numerous Runtime Fixes
2012-02-28 18:24:43 -07:00
SkyMarshal
02002054de Teleporter has a cancel button.
Improved the admin player panel.
Disposals now work right with things thrown at them.
Nuke upgraded to use realtime.
2012-02-28 13:39:51 -07:00
SkyMarshal
b653c615be Replaced a lot of stupid from the wardrobes and package wrap, they now use an afterattack call instead of specific code for them in EVERY OTHER ITEM.
Improved the admin panel.
Removed Karma.
2012-02-28 00:11:15 -07:00
SkyMarshal
99aa041f11 Fixed some bugs, map update for Antiqua.dmm 2012-02-23 00:13:34 -07:00