Commit Graph

4907 Commits

Author SHA1 Message Date
elly1989@rocketmail.com
50fe648a91 Admin ranks now use bitfields for permissions. Rather than checking the name of the rank, adminverbs will now check holder.rights to see if it has certain bits turned on.
SERVER HOSTS:
This commit replaces the existing admin-rank system. It is now more customizable.
Admin.txt essentially works the same as it always has. Each line should look like:
ckey - admin rank

There is now however, an admin_ranks.txt. This textfile allows you to define ranks like so:
admin rank +ADMIN +FUN +BUILD
the +KEYWORD are flags adding permissions to that rank. There are brief descriptions in the text-file explaining what they do.

You can now name the ranks anything you like, and give them the permissions you want them to have. This allows, for instance, ranks like:
Game Admin on disciplinary +ADMIN +BAN
This would give that game admin only the tools they need to admin. They would not have access to 'fun' verbs which control events and antags.
There's lots of things you can do. For instance, a coder rank whom can debug stuff but cannot do admin tasks:
Codermin +DEBUG +VAREDIT +SERVER

There's lots you can do. As it evolves it will hopefully become more flexible.

admin_ranks.txt defaults to use the old admin rank names.

Apologies in advance as there will be a lot of anomalies, such as ranks losing verbs they once had. Please let me know about any problems. I can fix them quite easily simply by moving verbs between the lists or splitting the lists up into new flags.

CODERS:
There is now a check_rights(flags) proc. 
It check is usr is and admin and has -at least one of- the rights specified.
It checks > usr < not src, so keep that in mind!
If you need to check if something other than usr has specific tights, you can do if(holder.rights & R_ADMIN) etc.

KNOWN ISSUES:
+FUN probably needs to be split up into +MOBS and +EVENTS
In-game promotion/demotion is currently disabled. It will be readded after everything else works ok.
Erro's sql rights changes stuff is currently commented out. It will be re-added.
There are still many many verbs which need updating.

Apologies in advance for any inconvenience.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4991 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-02 10:23:04 +00:00
giacomand@gmail.com
d46775ec87 -Aliens now take x2 as much damage from fire based weaponary, instead of x1.5.
-Doors are now weaker than walls; so normal weapons can destroy them much more easily.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4990 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-02 02:31:16 +00:00
giacomand@gmail.com
bd67128dac -More work to advance diseases.
The Pandemic should be more compatible with advance diseases. Currently it's pretty ugly but when I get rid of the broken diseases and convert the rest to advance diseases I will clean up the pandemic.

Vaccines will now work properly with advance diseases.

Soon I'll add a system so that you are able to name your own diseases, as I've added ways for me to do that with the archive_diseases list.

Gave names to symptoms for the Pandemic.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4989 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-01 23:59:27 +00:00
johnsonmt88@gmail.com
687532597b Fix for parrots moving while dead.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4988 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-01 23:10:35 +00:00
Chinsky
203a4e1183 Merge branch 'disarm' 2012-11-02 01:22:31 +04:00
Ater Ignis
cbc31b9090 Adjustable timer for default grenades 2012-11-01 21:05:02 +04:00
Head
4cd33f3906 Just uh,fixes.
Signed-off-by: Head <sebbebroberg@hotmail.com>
2012-11-01 17:29:02 +01:00
Ater Ignis
e79df68ef3 added new assembled timer-igniter assembly and added that to default chem-grenades 2012-11-01 17:49:21 +04:00
Hawk-v3
bdf079af85 Merge pull request #1859 from AterIgnis/dismemberment
Fix of recent pull 'Dismamberments'
2012-11-01 02:13:41 -07:00
Ater Ignis
0171418661 fixed my misunderstanding of this programming language 2012-11-01 12:32:14 +04:00
Chinsky
b9d942cfdd Gun goes off in random direction instead of always on assiliant. 2012-11-01 04:14:23 +04:00
Chinsky
6d20c25cc1 Fixed custom welding helmets paths, making them act as welding helmets again. 2012-11-01 02:57:54 +04:00
giacomand@gmail.com
2cefee1282 -Added advance diseases! Virology can create and mutate advance with different symptoms and effects. Read my comments if you're interested in each symptom.
This isn't done, I still need to add more symptoms and a way for virology to identify and name them.

-Metroids will die in space again.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4987 316c924e-a436-60f5-8080-3fe189b3f50e
2012-10-31 18:04:04 +00:00
Chinsky
771389f871 Added warning messages before vomiting.
You have in total two warnings and to react now.
2012-10-31 14:36:09 +04:00
Chinsky
e1c087c594 Added small probality of gun owner getting shot. 2012-10-31 14:34:52 +04:00
Chinsky
29fab30384 Added 40% chance of gun in active hand going off if someone tries to disarm holder.
There is also 10% chance that gun in off hand will go off.
2012-10-31 13:04:34 +04:00
Chinsky
a2e83e962d Alternative titles system.
Custom character records.
Different clothing for alternative titles.
2012-10-31 08:40:51 +04:00
Cael_Aislinn
38e127f2c4 made invisimin change the mob sprite
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-10-31 14:02:14 +10:00
Chinsky
9dc654c712 Beep boop cyborg emotes.
All ported and working.
Ping, beep, buzz, THE LAW.
2012-10-31 03:24:31 +04:00
d_h2005@yahoo.com
9fa23830cf Readds the ghostblob admin verb.
Smaller sprites for corn, from Farart.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4984 316c924e-a436-60f5-8080-3fe189b3f50e
2012-10-30 21:02:52 +00:00
Cael_Aislinn
6bda733e37 Merge branch 'bs12_with_tgport' of github.com:caelaislinn/Baystation12 into bs12_with_tgport
Conflicts:
	baystation12.dme
	code/modules/mob/living/carbon/human/inventory.dm

Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-10-30 23:53:42 +10:00
Cael_Aislinn
698425a987 readd ssd sleep
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-10-30 23:46:54 +10:00
Cael_Aislinn
5c82c87aa2 removed silly comments
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-10-30 23:44:57 +10:00
Mloc
5049fa1b83 Merge pull request #1852 from comma/master
Custom items, limbs and small fixes.
2012-10-30 05:29:59 -07:00
Chinsky
b30ba9314c Reverted changes by 'dismemberment fix'
It's a bit misleading, but you can just set base icon to limbless torso, so no need to subtract every missing limb from there.
Subtracting will cause mob have see-through holes when seen from the side too.
2012-10-30 16:02:10 +04:00
Chinsky
77800a76d7 Merge branch 'master' of https://github.com/Baystation12/Baystation12 2012-10-30 15:30:40 +04:00
sieve32@gmail.com
3dc80af872 - Based on the 'nerf' to energy relays, they no longer require Illegal Tech to build, and instead a mech clusterbang launcher takes its place for Illegal Tech. Do note however, that this launcher cannot reload, so it would have to be replaced with a new one in order to fire again. Hopefully that would provide some semblance of balance without gimping it.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4983 316c924e-a436-60f5-8080-3fe189b3f50e
2012-10-30 04:25:21 +00:00
Chinsky
a5cdbf1a1f Readded robolimbs beign affected by EMP 2012-10-30 08:07:45 +04:00
Chinsky
7e1e1872b2 Readded robolimbs and amputated limbs drawing properly.
Now character gets proper robo and amputated limbs on spawn.
Readded checks for amputated hands.
2012-10-30 07:59:54 +04:00
Ravensdale
7d5ee4cdf5 Fixes AI-less borgs spawning with asimov instead of corporate lawset. 2012-10-29 17:13:50 -07:00
baloh.matevz
6c65a71562 - Actually reduced the parrot's speak chance this time.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4982 316c924e-a436-60f5-8080-3fe189b3f50e
2012-10-29 23:21:37 +00:00
Chinsky
683e4f304a Fix for detective revolver.
Turns out my previous fix did not help. Problem was in detective ammo having wrong caliber.
2012-10-30 03:07:51 +04:00
Chinsky
6f1852449d Ported custom items system. 2012-10-30 02:27:51 +04:00
Mloc
6d350c6529 Merge pull request #1850 from comma/master
Virus2 and small fixes.
2012-10-29 12:29:48 -07:00
baloh.matevz
0a2a9362fe - Added a speach_probability variable to parrots, which starts out at 10. It decreases over time, meaning that while it's speach chance is initially prob(10) in each life cycle, as soon as it succeeds, it will be prob(9) and so on, until it eventually gets to prob(1). In effect this reduces the amount of Poly spam.
- Increased the time between vending machine adverts from 60s to 600s = 10 minutes. In addition, I set it so a newly created vending machine assigns a random time for it's first message to be displayed to ensure that all vending machines don't say their message at the same time.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4981 316c924e-a436-60f5-8080-3fe189b3f50e
2012-10-29 19:14:51 +00:00
sieve32@gmail.com
1990d911ee Added the 'says','exclaims','asks' filter to the 'Me' emote as well
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4980 316c924e-a436-60f5-8080-3fe189b3f50e
2012-10-29 17:10:35 +00:00
sieve32@gmail.com
6639c6e2cf - Added on to most emotes so anyone 'miming' will perform silent versions of them, so mimes can now use all of the pre-existing emotes and they won't have their vows forcibly broken by diseases making them yawn or whatnot.
Fixes Issue 1039
- Made the custom emote proc discard any emotes that start with "says", "asks", or "exclaims", to prevent people from impersonating others via emotes.
Fixes Issue 1020
- Made the ticker call mob/living/Death() for all mobs that are currently alive on z1 for nuked station cinematics (No matter what triggered the nuke, the station being destroyed will kill everyone and make them shut up)
Fixes Issue 1048
- Added a confirmation message to regenerative stasis for changelings, so that if they are not dead or unconscious a pop-up will ask them to confirm faking death.
Fixes Issue 1014 

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4979 316c924e-a436-60f5-8080-3fe189b3f50e
2012-10-29 16:40:57 +00:00
headswe
36953f7eab Merge pull request #1837 from AterIgnis/dismemberment
Dismemberments
2012-10-29 04:11:28 -07:00
Ater Ignis
fa1d74e435 added comments 2012-10-29 15:04:30 +04:00
Ater Ignis
6666e0cc3e fixed i=5 crutch
I accept, that was really silly
2012-10-29 14:35:50 +04:00
Chinsky
513e4463c5 Merge branch 'master' of https://github.com/Baystation12/Baystation12
Conflicts:
	code/modules/clothing/spacesuits/rig.dm
2012-10-29 07:23:19 +04:00
Hawk_v3
23801464cf Merge remote-tracking branch 'upstream/master'
Conflict resolved:
	code/modules/clothing/spacesuits/rig.dm
2012-10-29 01:29:47 +00:00
Chinsky
95d5912c2d Readds missing wizard rigsuit. 2012-10-29 04:54:57 +04:00
Chinsky
5281cbf2e2 Merge branch 'master' of https://github.com/Baystation12/Baystation12 2012-10-29 04:28:32 +04:00
Chinsky
27eaaa01d1 Ported virus2 system and machinery.
Viruses2 do not spawn anywhere yet, until machinery is on map.
2012-10-29 04:27:58 +04:00
Hawk_v3
9185b5189c RIGs have heat resist.
Firesuits have cold resist.

You're welcome. ^v^
2012-10-28 23:39:50 +00:00
sieve32@gmail.com
1879167cd4 - Made Mimewalls a seperate instance of forcefields instead of the special-snowflake-mime-dependent ones. When made, they are added to processing_objects, and count down every process() until they delete themselves(And are removed from processing_objects)
Fixes Issue 1025
- Made the Nuke Disk delete itself under certain conditions when it hits a transition tile in space, specifically if it is inside a bag and NOT on a living mob's back with a client, so spaced containers, backpack on braindead body, backpack on corpse will no longer make Nuclear Emergency unwinnable.
Fixes Issue 1026
- Added parse_zone() to projectile/Bump(), so instead of being hit in the "r_leg" you would be hit in the "right leg", and so on.
Fixes Issue 1028
- Touched up my throw logging so that instead of doing a search through the player_list to match stuff up, it simply pulls the client from carn's directory list

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4976 316c924e-a436-60f5-8080-3fe189b3f50e
2012-10-28 18:40:52 +00:00
giacomand@gmail.com
8112a568b1 -Remove Aliens having DNA, this way they cannot mutate into humans.
-Removed mob/Login giving the mob DNA, it should be done in the appropriate mob login procs.
-Changed how facehuggers decide to attach when being taken out of the pocket by someone stripping.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4975 316c924e-a436-60f5-8080-3fe189b3f50e
2012-10-28 18:28:57 +00:00
Ater Ignis
f4f3beeacb that must be a bit more correct, i think 2012-10-28 21:52:09 +04:00
Cael_Aislinn
10034cdac4 Merge branch 'master' of https://github.com/Baystation12/Baystation12 into bs12_with_tgport
Conflicts:
	code/modules/clothing/suits/suit_cramp.dm
	code/modules/mob/living/carbon/human/inventory.dm

Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-10-29 02:19:28 +10:00