Commit Graph

1535 Commits

Author SHA1 Message Date
Ren Erthilo
8a78ec1575 Merge fix for adminverbs. 2012-04-22 19:22:11 +01:00
Ren Erthilo
464cfd49f7 TG: - toggle-hear-radio and toggle-hear-deadcast now properly say whether you will
or won't hear the two communication types when toggling them.
- added a de-admin-self verb for admins. This exists so admins can play games
without having to deal with 2nd accounts and such. It removes all the verbs and
deletes the 'holder' object, so admins lose all their verbs, asay,
adminhelp/prayer hearing, everything. They are exactly the same as normal
players. To return to being an admin someone has to promote you back. The
effects of de-admin-self are only for the current round.

Coders, when adding new admin verbs, don't forget to also add their removal into
/client/proc/clear_admin_verbs()

Added jumptocoord, everyone_random and cmd_switch_radio to the proc, so hiding
admin verbs works more properly.
Revision: r3080
Author: 	 baloh.matevz
2012-04-22 18:39:36 +01:00
VivianFoxfoot@gmail.com
13ff994f64 Adds ticklag to be a config setting.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3491 316c924e-a436-60f5-8080-3fe189b3f50e
2012-04-22 01:19:10 +00:00
Ren Erthilo
fea287e1fc TG: Added throwing items over tables, thanks to SkyMarshal.
Improved cigarette code, mostly grammatical fixes.
Revision: r3036
Author: 	 petethegoat
2012-04-20 00:33:42 +01:00
Ren Erthilo
69dea97b26 TG: Added a cheap lighter so that zippos will have some company.
The cheap lighter can be purchased at vending machines and comes in 4 colors:
green, yellow, cyan and red.

Technical info:

The path
/obj/item/weapon/zippo

was changed to
/obj/item/weapon/lighter/zippo

The new lighter is
/obj/item/weapon/lighter/random
Revision: r3033
Author: 	 baloh.matevz
Date: 	Feb 4, 2012
Review scores: No one has yet scored this revision.
2012-04-20 00:02:00 +01:00
elly1989@rocketmail.com
f0ca2ad479 Forgot a file
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3482 316c924e-a436-60f5-8080-3fe189b3f50e
2012-04-19 22:01:24 +00:00
elly1989@rocketmail.com
575654babb Rewrote the cinematic system to be centralised and controlled by the gameticker, rather than handled per mob with like, 3 loops and a seperate process for each mob.dmPlease report any bugs/derps to me asap. I've tested it as much as I can locally, but because it relates to events that require a large number of players it's very hard to test.
TODO: I was intending to use dust to kill players off on a nuclear-loss. However dust() is very very broken. So I've hardcoded everything to die until I can fix dust().

Added an adminverb for 'Game Master's. It was a debug verb so I could test cinematics but I've left it in as it might be handy for events, especially if we get more cinematics. To access it type "cinematic" in full into the input bar as a Game Master, then follow the prompts. At the moment, it only handles nuclear stuff (that's all there is anyway). You can choose where the nuke detonated 0= on station; 1= near station but in space; 2= off the z-level. You can also force a cinematic from another game-mode to play with the prompt after that one.

Note: All mobs are buckled to a bed located inside the gameticker (odd I know) whilst a cinematic is playing. The bed is deleted afterwards releasing all players. If off_station=0 then all mobs will be killed too. This is to stop people running around and doing stuff during the cinematic. I really didn't want to add more variables/checks to mobs.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3481 316c924e-a436-60f5-8080-3fe189b3f50e
2012-04-19 20:33:19 +00:00
Ren Erthilo
0d74c0e43b Oops, ignore those verbs. 2012-04-19 20:25:43 +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
f0d5829369 Merge branch 'master' of git://github.com/Baystation12/Baystation12 into TGUpdates 2012-04-17 23:30:21 +01:00
Ren Erthilo
d4d1795859 TG r3475: New Verb added for "Game Master"s: getruntimelog
This verb can only be accessed by typing it in full in the input bar down the
bottom of the gamescreen.

HOW DO I LOG RUNTIMES?
Firstly, start dreamdeamon if it isn't already running. Then select "world>Log
Session" in dreamdeamon (or press the F3 key)
navigate the popup window to the log/runtime/ folder from where your tgstation
.dmb is located.

OPTIONAL:
you can select the little checkbox down the bottom to make dreamdeamon save the
log everytime you start a world. Just remember to repeat these steps with a new
name when you update to a new revision!

Save it with the name of the revision your server uses (e.g. r3459.txt).

This will allow us to gather information on bugs across multiple servers simply
by logging on as a player and asking any Game Master to send us the logs.
Hence making maintaining our codebase for the entire community a TONNE easier :3
If you're keeping runtime logs: Thanks for your help!

~love from #coderbus
r3475
Author: 	 elly1...@rocketmail.com
Date: 	Today (3 hours ago)
Review scores: No one has yet scored this revision.

For SkyMarshal
2012-04-17 23:29:45 +01:00
Ren Erthilo
901a905776 TG: Committing Carn's patch from here: http://bit.ly/ww7gmD
Game Admins and Game Masters can now toggle random events from happening during
a round, it is also an option in the config file.
Revision: r3017
Author: 	 Superxpdude
2012-04-17 21:35:52 +01:00
elly1989@rocketmail.com
cbd74700fc New Verb added for "Game Master"s: getruntimelog
This verb can only be accessed by typing it in full in the input bar down the bottom of the gamescreen.

HOW DO I LOG RUNTIMES?
Firstly, start dreamdeamon if it isn't already running. Then select "world>Log Session" in dreamdeamon (or press the F3 key)
navigate the popup window to the log/runtime/ folder from where your tgstation .dmb is located.

OPTIONAL:
you can select the little checkbox down the bottom to make dreamdeamon save the log everytime you start a world. Just remember to repeat these steps with a new name when you update to a new revision!

Save it with the name of the revision your server uses (e.g. r3459.txt).

This will allow us to gather information on bugs across multiple servers simply by logging on as a player and asking any Game Master to send us the logs.
Hence making maintaining our codebase for the entire community a TONNE easier :3 
If you're keeping runtime logs: Thanks for your help!

~love from #coderbus

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3475 316c924e-a436-60f5-8080-3fe189b3f50e
2012-04-17 18:59:31 +00:00
SkyMarshal
23f13cb95d Numerous bugfixes. 2012-04-17 11:55:53 -07:00
Ren Erthilo
8080b4b688 Adds a neat warden hat. Jobbans now display an appeal link. 2012-04-17 02:53:00 +01:00
Ren Erthilo
2749475bcc TG: moving all the git stuff over to this so people who don't want to spend 8 years
figuring out the bass ackward git system can actually run our server code
Revision: r2983
Author: 	 quartz235
2012-04-16 23:13:06 +01:00
baloh.matevz@gmail.com
d7aa871bf6 - Jobbans now autolog who applied them and when they were applied
Screenshot:
http://www.kamletos.si/jobbanlogging.PNG

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3470 316c924e-a436-60f5-8080-3fe189b3f50e
2012-04-16 16:41:54 +00:00
Ren Erthilo
6176a3ab3b Fixes a Jooban typo. 2012-04-16 16:11:08 +01:00
elly1989@rocketmail.com
ad80d08c2b Damn, there really is no excuse for this screw up.
The links within adminhelps now work again. I must've intended to change the topic calls to reference clients but totally forgotten :S
sorry.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3467 316c924e-a436-60f5-8080-3fe189b3f50e
2012-04-16 08:57:05 +00:00
baloh.matevz@gmail.com
d1d0fd5e4f - hand tools now fit on your belt slot
- added feedback logging for newscasters
- added feedback logging for admin verbs
- added shuttle timers to escape pods
- added feedback logging to chemical reactions
- clipboard can now fit on your belt

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3465 316c924e-a436-60f5-8080-3fe189b3f50e
2012-04-16 04:00:36 +00:00
baloh.matevz@gmail.com
3429ddf0b5 - Assume direct control moved to view variables
- "Mapping debug" verb renamed to "Debug verbs"

- assume direct control, jump to dead group, startup singulo verbs removed from admins. You can enable them by calling the verb 'debug verbs'. 'debug verbs' remains game-master only, as it is just for debugging stuff. For a non-game master to use the 'assume direct control' verb, they have to use view variables - it was added to the drop-down.

Some procs were moved around. Please code things in the locations which make sense! If you are making a verb for /mob/living, then don't put it in mob.dm, put it in mob/living.dm. Thanks.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3461 316c924e-a436-60f5-8080-3fe189b3f50e
2012-04-16 01:06:41 +00:00
Albert Iordache
d2032c0509 Fixed a runtime error with jumptomob() 2012-04-15 12:38:25 +03:00
elly1989@rocketmail.com
1b0661c26b Fixed my derp in cmd_admin_pm where the input popup was being displayed to usr rather than src (usr is the mob src is the client)
AdminHelps are now client verbs rather than mob verbs. Which means adminhelp can be called from cmd_admin_pm when an admin disconnects or something. This will stop non-admins getting the message "Client not found" (read as: license to grieffe) when an admin disconnects for whatever reason.

Moved AdminPM stuff to adminpm.dm

Fixed some run-times in posters and fixed posters eternally having the laying poster icon_state(whatever it was called) when something went awry.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3456 316c924e-a436-60f5-8080-3fe189b3f50e
2012-04-14 14:24:46 +00:00
elly1989@rocketmail.com
1d4b40d915 Added the foundations of a special-day events system. It's a bit more robust, tidy and efficient than calling isDay everywhere. It defaults to disabled. It can be enabled by uncommenting ALLOW_HOLIDAYS in config/config.txt
I've added no content just the foundations. All it does is give the station a holiday themed name and say "Happy [Holiday] Everybody!" at the round-start.

Added a .Set Holiday verb for GM and GA Admins. I'd rather people didn't use it for now (there's not much point as there's no content yet anyway). It's mainly for bugtesting.

Foundations are there to create holiday random events and round-start stuff so we can keep everything together. Check out code/game/gamemodes/events/holidays !


NOTE: This is intended for easter eggs! Little trinkets and such to make these days special. It IS NOT for spawning grief items and game-changing stuff. If you REALLY want to add stuff like that, please speak to the project heads. If it's used for spawning bullshit like poop or grief items I'll just remove my code. Thanks.

Happy Friday 13th :)

Other Fixes:
Oxygen tanks no longer spam BEEPBEEPBEEPBEEP at everybody nearby. That only happens for the person holding them.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3450 316c924e-a436-60f5-8080-3fe189b3f50e
2012-04-13 16:58:03 +00:00
VivianFoxfoot@gmail.com
3dae4beda4 Adds an adminverb to quickly take control of a mob, mostly for testing
Mech fabricator can no longer sync while it has a queue
Fixes resisting out of cuffbuckling.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3449 316c924e-a436-60f5-8080-3fe189b3f50e
2012-04-13 16:02:27 +00:00
elly1989@rocketmail.com
04f0a79866 Rewrote blackholes (gravitational anomalies) and wormholes to try and optimise them a little. If you have any concerns about how I've done so just give me a shout and I'll either rework them or revert my changes back. Wormholes especially seem a bit faster on my laptop. Smoke has temporarily been removed from the blackhole event until I get time to investigate why the hell effect_systems are using so much memory ( spark effects were using 40% of my processor a second ago D: ). To compensate this I made them a new sprite.
Commented out the authentication system. It was the remnants of the old goon authentication stuff (or maybe even older) and wasn't actually used in our code at all (at least not in any useful way, it was merely called and short-circuited to 1, so all those if(authenticated) were totally pointless. This has removed 3 unused variables from every client, a bunch of unused variables from the config and two empty text files!

Committed (as a config option) a feature requested by Apoc station. It causes a 'reply to' window to popup when an admin PMs a non-admin player. It's meant to grab their attention so they can't say "I didn't see your PM". It defaults to off. To turn it on just uncomment the #POPUP_ADMIN_PM line in config/config.txt

Fixed a derp in isday where it was fetching the month instead of the day.

Removed medal references from Gib()

Removed the medal_hub global variables because they aren't used in any way shape or form.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3444 316c924e-a436-60f5-8080-3fe189b3f50e
2012-04-12 21:54:51 +00:00
quartz235@gmail.com
b4e4d36e8d Moved show-server-log and show-server-attack-log down to trialmins
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3437 316c924e-a436-60f5-8080-3fe189b3f50e
2012-04-11 23:04:40 +00:00
Ren Erthilo
c33a00a1b2 Merge branch 'master' of git://github.com/Baystation12/Baystation12 2012-04-11 20:49:14 +01:00
SkyMarshal
f0490787ef Merge pull request #819 from Erthilo/TGUpdates
TG Updates up to r2928
2012-04-11 11:36:41 -07:00
Ren Erthilo
e2921b646d Merge branch 'master' of git://github.com/Baystation12/Baystation12 2012-04-11 19:28:27 +01:00
SkyMarshal
80158164dc Fixed organ based damage. Added a variable to hold the children organs of an organ, to simplify damage spread and droppage. Fixed DNA proc stuff for monkey transforms. Removed Bartender's closet o' armor. 2012-04-10 22:32:24 -07:00
elly1989@rocketmail.com
d775e1ac80 Runtime fixes for:
runtime error: Cannot modify null.layer. proc name: done (/obj/effect/equip_e/human/done) usr: Ramona Fawkes (/mob/living/carbon/human) src: the human (/obj/effect/equip_e/human)
call stack: the human (/obj/effect/equip_e/human): done() the human (/obj/effect/equip_e/human): process()

runtime error: Cannot execute null.use(). proc name: attackby (/obj/structure/barricade/wooden/attackby) usr: Jeffery Long (/mob/living/carbon/human) src: the wooden barricade (/obj/structure/barricade/wooden) call stack: the wooden barricade (/obj/structure/barricade/wooden): attackby(null, Jeffery Long (/mob/living/carbon/human)) the wooden barricade (/obj/structure/barricade/wooden): DblClick(the floor (159,129,1) (/turf/simulated/floor), "mapwindow.map", "icon-x=15;icon-y=12;left=1;scr...")

Rewrote wielded weapons to be their own weapon subclass. There was no point having a var/wielded var/twohanded var/force_unwielded var/force_wielded for every damn item when there is only 1 wield-able weapon anyway. All the wield-able stuff is now in twohanded.dm

Changed the adminhelpsound to some creative commons sound I pinched. Until somebody can get a better one. I'm sick of MAAAAAAAAOOOOOOW.

All PMs trigger the adminhelp sound. That means when you OM a player they get the sound, if a admin is PMed they only hear it if their adminhelp sounds are enabled. This should allow people to get eachother's attention when t he chat is busy.

Fixed some bad code with poddoors (which is used for the shutters in QM)

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3435 316c924e-a436-60f5-8080-3fe189b3f50e
2012-04-11 05:01:44 +00:00
Ren Erthilo
ae5ea54af1 Reverts ZAS
This reverts commit fd09ea6ce8. and https://github.com/Baystation12/Baystation12/pull/681
2012-04-10 17:38:44 +01:00
VivianFoxfoot@gmail.com
92fedfe8df An attempt to make the master controller more robust. This shouldn't cause terrible additional lag, given that the master controller doesn't actually fire that often, and can also give us a clue as to what part of the controller has died in case of failure
Modifies do_after to something that fires a lot less, and is hopefully more robust against infinite loops. It is now theoretically possible to run around and then come back to the same place and have it complete, but that's only really valid for extremely long times (like handcuff removal) and if you get lucky and dodge one of the timed checks.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3421 316c924e-a436-60f5-8080-3fe189b3f50e
2012-04-09 18:53:04 +00:00
Ren Erthilo
3b22ebee38 TG: Adds logging in the form of an attack log.log (now enabled by default)
You can now drag PDAs onto yourself to open the screen
Disables the fire damage causing husking.
Revision: r2926
Author: VivianFoxfoot

Other misc changes to logging.
2012-04-09 18:15:16 +01:00
Ren Erthilo
61d5eff00a Merge branch 'master' of git://github.com/Baystation12/Baystation12 into TGUpdates 2012-04-09 17:57:12 +01:00
Ren Erthilo
7cb6114eff TG: Steel renamed to plasteel.
Having more than 100 burn damage and being dead now makes you a husk. r2925
Author: 	 uporotiy
2012-04-09 17:15:57 +01:00
Ren Erthilo
9c3ce6aaf0 TG: Jobbans now ask for a reason each time you try to apply a jobban. Reasons are
displayed in the 'show job bans' panel. r2922
Author: 	 baloh.matevz
2012-04-09 15:34:41 +01:00
Ren Erthilo
19cf6b3b47 TG: Adds a new special object (stop) that can be used when you need someone to stop
moving right away, even before the next life().  Used in door crushing to
prevent people from inertiaing through.  Checks for /obj/special/stop in loc
every move.  Compared to the number of other checks, I don't expect this to be
an undo burden, but can be commented out in case of OH SHIT LAG under heavy
load.
Moves /area/entered to its own file.
Adds a new area var called has_gravity.  Determines if floor tiles count for
movement control (planning on adding more, currently can only be badmined)
Adds a new mob var called lastarea that is updated with the area you're in every
time /area/entered is called. r2917
Moves /obj/special/stop into /obj/effect/stop.
Thunks people when gravity changes. r2918
2012-04-09 14:35:18 +01:00
Ren Erthilo
4a39151e9e TG: Renamed the prisoner computer's file to prisoner and added a sanity check.
The singularity is now able to eat things like signs and chameleon projectors'
projections.
A few other misc runtime fixes. r2916
2012-04-09 13:28:45 +01:00
Ren Erthilo
111e748c34 Merge branch 'master' of git://github.com/Baystation12/Baystation12 2012-04-09 11:24:10 +01:00
mport2004@gmail.com
4331dca438 Someone thought it would be a great idea to comment out the ability to wake up, you will once again sometimes wake up after medbay hits you with sleepytox.
Ghosts no longer hear emotes from across the map.
You can once again examine yourself.
Buildmode is back in because it is a very useful and great tool.
It is also an ADMIN TOOL and will cause runtimes like most of the other admin tools if you use it like shit.
Removed more erp bullshit

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3417 316c924e-a436-60f5-8080-3fe189b3f50e
2012-04-09 07:09:07 +00:00
VivianFoxfoot@gmail.com
3385621585 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.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3415 316c924e-a436-60f5-8080-3fe189b3f50e
2012-04-09 02:19:28 +00:00
Albert Iordache
f15bf584c4 Antagonists wearing Syndicate ID cards are now marked as such in the player panel. Fixes #800 2012-04-08 23:07:21 +03:00
Ren Erthilo
ad590fbbc4 Fixes setting status display from comms console. Messages can now be sent to CentCom (admins) using comms console, and the Syndicate (also admins) when emagged. This functions like a prayer. 2012-04-08 12:20:14 +01:00
Superxpdude@gmail.com
10c27a52eb Adding the start of the work on the new admin ranks into a subfolder named 'new' in the admins module folder.
All of the files are unticked, and could potentially be buggy.
If you are testing them, copy them over to the admins module folder, and overwrite the files.
Coders, if you change anything in the normal versions of these files please make sure you change the new versions as well to help prevent code being lost once this is implemented.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3409 316c924e-a436-60f5-8080-3fe189b3f50e
2012-04-08 04:20:04 +00:00
VivianFoxfoot@gmail.com
c44df4b4c5 Makes the tensioner firing notice more visible to admins.
Adds a listing of the tension required for each mode to have a chance to fire at the bottom of the tensioner controls

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3408 316c924e-a436-60f5-8080-3fe189b3f50e
2012-04-08 00:43:43 +00:00
Head
844300f0f9 Fixed admin jump/get mob 2012-04-07 17:41:03 +02: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
SkyMarshal
e8f5e13bd2 Further improved stuff for dealing with associative lists. You can now modify the contents of an associative list. Removed static background noise. Added CarbonCopy command from oldcode. 2012-04-04 23:02:24 -07:00