Commit Graph

76 Commits

Author SHA1 Message Date
Putnam
28f77af42e wow that's important 2020-04-07 05:50:00 -07:00
Putnam
d43e8052ad More threat swinging 2020-04-06 08:49:19 -07:00
Putnam3145
93feb0277a Further dynamic tweaks: "you can instamerge this time" edition (#11715)
* Starting a replacement of how threat works.

* no, we do it this way

* Added threat levels to jobs

* Added threat to... a lot.

* Updated for traitor classes.

* Fixed errors, except for one.

It's consistently giving me "maximum number of internal arrays exceeded (65535)". I have no idea what could be causing this.

* Added type annotation to GetJob.

* This one I should change though

* wow how'd that happen

* spammable means low threat

* Made story threat have initial threat level on average

* Made somet rulesets force if they won the vote

* )

* Gave EVERY job threat, added a config for it.

* Rebalanced some numbers

* Update code/game/gamemodes/dynamic/dynamic_storytellers.dm

Co-Authored-By: Ghom <42542238+Ghommie@users.noreply.github.com>

* Removes mush threat

* Makes devil threat scale with form

* reviewing reviewer's review of reviewer

* Gutlunches can be friendly spawned, so no

* Also made forced-friendly mobs not count

* null checks better

* Made antag threats in config, too

* various fixes

* Another couple dynamic fixes

* Made an admin message chunk all one line.

* Make roundstarts ignore current threat

It's not even calculated yet, so this is probably better.

* Minimum pop for chaotic/teamwork.

* More conveyance issues, removed superfluous threat costs

* More conveyance and tweaks

* Makes storyteller min players use all players instead of ready

* Lowered chaos weight with chaotic

* Blob now has correct cost

* Makes phylactery count for threat

* Makes random storyteller  have random threat level

* Made starting rulesets scale up with threat LEVEL

* Made "minor rulesets" never have lower weight

* Makes chaotic not forced.

* Made story about 25% less chaotic

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
2020-04-03 14:23:08 +02:00
Putnam3145
e63dc08e66 More dynamic fixes, AKA if Ghommie keeps merging without telling me I will maybe get irate (#11688)
* Starting a replacement of how threat works.

* no, we do it this way

* Added threat levels to jobs

* Added threat to... a lot.

* Updated for traitor classes.

* Fixed errors, except for one.

It's consistently giving me "maximum number of internal arrays exceeded (65535)". I have no idea what could be causing this.

* Added type annotation to GetJob.

* This one I should change though

* wow how'd that happen

* spammable means low threat

* Made story threat have initial threat level on average

* Made somet rulesets force if they won the vote

* )

* Gave EVERY job threat, added a config for it.

* Rebalanced some numbers

* Update code/game/gamemodes/dynamic/dynamic_storytellers.dm

Co-Authored-By: Ghom <42542238+Ghommie@users.noreply.github.com>

* Removes mush threat

* Makes devil threat scale with form

* reviewing reviewer's review of reviewer

* Gutlunches can be friendly spawned, so no

* Also made forced-friendly mobs not count

* null checks better

* Made antag threats in config, too

* various fixes

* Another couple dynamic fixes

* Made an admin message chunk all one line.

* Make roundstarts ignore current threat

It's not even calculated yet, so this is probably better.

* Minimum pop for chaotic/teamwork.

* More conveyance issues, removed superfluous threat costs

* More conveyance and tweaks

* Makes storyteller min players use all players instead of ready

* Lowered chaos weight with chaotic

* Blob now has correct cost

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
2020-03-31 13:10:59 +02:00
kevinz000
6cafca3f9f Merge pull request #11652 from Ghommie/Ghommie-cit650
Ports "Makes raw HTML and browser datum popups UTF-8 aware"
2020-03-28 16:00:48 -07:00
Putnam3145
8a620b0ebc More dynamic rework: help I wasn't done (#11642)
* Starting a replacement of how threat works.

* no, we do it this way

* Added threat levels to jobs

* Added threat to... a lot.

* Updated for traitor classes.

* Fixed errors, except for one.

It's consistently giving me "maximum number of internal arrays exceeded (65535)". I have no idea what could be causing this.

* Added type annotation to GetJob.

* This one I should change though

* wow how'd that happen

* spammable means low threat

* Made story threat have initial threat level on average

* Made somet rulesets force if they won the vote

* )

* Gave EVERY job threat, added a config for it.

* Rebalanced some numbers

* Update code/game/gamemodes/dynamic/dynamic_storytellers.dm

Co-Authored-By: Ghom <42542238+Ghommie@users.noreply.github.com>

* Removes mush threat

* Makes devil threat scale with form

* reviewing reviewer's review of reviewer

* Gutlunches can be friendly spawned, so no

* Also made forced-friendly mobs not count

* null checks better

* Made antag threats in config, too

* various fixes

* Another couple dynamic fixes

* Made an admin message chunk all one line.

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
2020-03-28 14:46:37 +01:00
Ghommie
41e2c60d4a Ports "Makes raw HTML and browser datum popups UTF-8 aware" 2020-03-27 22:52:43 +01:00
Putnam3145
3d8084709b A dynamic rework: target threat levels (#11515)
* Starting a replacement of how threat works.

* no, we do it this way

* Added threat levels to jobs

* Added threat to... a lot.

* Updated for traitor classes.

* Fixed errors, except for one.

It's consistently giving me "maximum number of internal arrays exceeded (65535)". I have no idea what could be causing this.

* Added type annotation to GetJob.

* This one I should change though

* wow how'd that happen

* spammable means low threat

* Made story threat have initial threat level on average

* Made somet rulesets force if they won the vote

* )

* Gave EVERY job threat, added a config for it.

* Rebalanced some numbers

* Update code/game/gamemodes/dynamic/dynamic_storytellers.dm

Co-Authored-By: Ghom <42542238+Ghommie@users.noreply.github.com>

* Removes mush threat

* Makes devil threat scale with form

* reviewing reviewer's review of reviewer

* Gutlunches can be friendly spawned, so no

* Also made forced-friendly mobs not count

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
2020-03-25 17:40:37 +01:00
Hatterhat
b89a2314a2 mmm that's compiling i don't like that 2020-02-22 16:17:51 -06:00
Ghom
1dfba9f416 Merge pull request #10957 from Putnam3145/fix-occasional-dynamic-runtime
Fixes a spurious dynamic runtime if nobody votes
2020-02-07 22:41:48 +01:00
Putnam
b4faac50a9 yeah "null" is bad juju. why did i do that 2020-02-07 04:41:16 -08:00
Putnam
52432ed0a7 too many dynamic changes for my sanity 2020-02-03 07:12:27 -08:00
nik707
0f9c3350cd Merge pull request #10189 from Putnam3145/storytellers
n word
2020-01-02 22:01:19 -06:00
Putnam
cc087b990c Code improvements 2019-12-29 21:01:55 -08:00
Putnam
ddf233e0d5 Made no antags show up after auto call 2019-12-29 18:53:49 -08:00
Putnam
a0374f82e2 Made a line use the dang macro 2019-12-28 13:55:54 -08:00
Putnam
27d8684d2d and a line break goes there 2019-12-25 00:26:24 -08:00
Putnam
c12c89e01d Added storyteller to dynamic game mode panel. 2019-12-24 23:20:18 -08:00
Putnam
124ea51c09 Revert "vote overhaul start"
This reverts commit 232811dd18.
2019-12-24 17:52:33 -08:00
Putnam
232811dd18 vote overhaul start 2019-12-23 22:43:54 -08:00
Putnam
ea85a3e521 Storytellers do more things now 2019-12-23 22:09:29 -08:00
Putnam
3ebfe67613 fixed overrefunds (again) 2019-12-22 10:28:57 -08:00
Putnam
1c2fe646a4 better stats 2019-12-21 20:52:03 -08:00
Putnam
d42ed1ca49 Added extended, deobfuscated, made "how many to vote" bigger 2019-12-21 12:52:35 -08:00
Putnam
d575b20e77 Added statbus support 2019-12-21 08:34:16 -08:00
Putnam
128b857d99 Merge branch 'master' of https://github.com/Citadel-Station-13/Citadel-Station-13 into storytellers 2019-12-21 08:31:44 -08:00
Ghom
3df8619980 Merge pull request #10141 from Putnam3145/dynamic-statbus
Adds a bunch of statbus logging to dynamic
2019-12-21 11:45:44 +01:00
Putnam
3b526fdb9b Merge branch 'master' of https://github.com/Citadel-Station-13/Citadel-Station-13 into storytellers 2019-12-15 14:41:47 -08:00
Putnam
b96d36e719 alright that's that 2019-12-14 20:01:30 -08:00
Putnam
967bcce38e actually i still need this 2019-12-14 14:17:05 -08:00
Putnam
0deaebc4ca voting makes everything dumb 2019-12-14 14:16:02 -08:00
Putnam
e1f0c52b96 that's storytellers. time for voting 2019-12-14 14:13:23 -08:00
Putnam
10879d9984 rejection logging too 2019-12-10 10:26:18 -08:00
Putnam
cda0e3470a Added a bunch of logging to dynamic. 2019-12-10 10:09:24 -08:00
Putnam
7880340142 Make dynamic message in secret not bug me 2019-12-10 07:58:13 -08:00
kevinz000
c3dc0e7c71 Merge pull request #9893 from Putnam3145/threat-log-fixes
[DYNAMIC] Roundend threat log only shows changes that fully happened
2019-11-30 22:48:50 -07:00
Putnam
6062ab0c9b Also make it log ALL threat changes. 2019-11-21 16:39:16 -08:00
Putnam
435d2f893e Makes roundend threat log only show actual changes. 2019-11-20 18:31:39 -08:00
Putnam
afc137f0a3 Reverted making latejoiners count for roundstart rulesets 2019-11-20 17:16:57 -08:00
Putnam
3a6dce54ac i'm like 90% sure this is what it's supposed to be. 2019-11-14 05:53:58 -08:00
Putnam
c08c6f5bb7 Made roundstart 2019-11-13 19:13:16 -08:00
Putnam
0c3a7d4015 holy shit 2019-11-13 03:49:22 -08:00
Putnam
7ea3b5e221 Increased event cooldown 2019-11-12 17:01:25 -08:00
Putnam
6a7453dede whoops forgot initialize cooldown 2019-11-12 16:48:46 -08:00
Putnam
82a17d8144 updated an error to actually be right 2019-11-12 03:02:32 -08:00
Putnam
42d94e6cae Rethink events (see desc)
Made events their own ruletype, made the duplicated-with-different-threats events are now one event with shared values that can scale theirselves up.

Also fixed **MIDROUND ANTAGS NOT WORKING AT ALL BECAUSE THEY WERE LOOKING FOR ENEMIES ONLY AMONG PLAYERS ELIGIBLE FOR THE ANTAG WTF**
2019-11-12 02:57:31 -08:00
Putnam
0c50d39ddc the "latejoiners count too" commit 2019-11-11 05:12:36 -08:00
Putnam
d13301312d made forced midround antags increase weight by their cost
This is to make sure that threat is really, really used throughout a round, or at least to encourage it to be--people are rightfully annoyed at 70 threat level rounds just not using the vast majority of it.
2019-11-11 00:04:51 -08:00
Putnam
5466ebc1ce elligible more like illegible 2019-11-10 23:26:04 -08:00
Putnam
baf22899d0 Removed a comment I only kept around for copy+pasting. 2019-11-10 22:59:49 -08:00