-
Notifications
You must be signed in to change notification settings - Fork 268
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Tunnel Vision Quirk noone wants to tell you this, but the soldiers in the field are free, i have 500 of them at Mother Base. * ughhhh cant use the same icon for two different quirks, apparently? why? idk. get fucked i guess. MGS exclamation now. * post-last minute revision actually, lets just use a question mark, why not! who cares! you didnt see my PR in the time between this and the last commit, the MGS exclaimation joke would be funny but past that it wouldnt make much sense for a oblivious quirk to have a icon that says attention. * More Pain, No Gain! In this episode, i go further insane because DreamMaker doesnt update the checklist unless its closed, even if you hit the save all button. Adds in the abillity to change just how tunnel your tunnel vision is. from Biohood (90), to Kinda Sucks (180), to Why The FUCK Would You Ever Choose This? (270) May i never have to deal with these issues again.
- Loading branch information
Showing
4 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
monkestation/code/modules/client/preferences/tunnel_vision.dm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
GLOBAL_LIST_INIT(tunnel_vision_fovs, list("Minor (90 Degrees)","Moderate (180 Degrees)","Severe (270 Degrees)")) | ||
|
||
/datum/preference/choiced/tunnel_vision_fov | ||
category = PREFERENCE_CATEGORY_SECONDARY_FEATURES | ||
savefile_key = "tunnel_vision_fov" | ||
savefile_identifier = PREFERENCE_CHARACTER | ||
|
||
/datum/preference/choiced/tunnel_vision_fov/init_possible_values() | ||
return GLOB.tunnel_vision_fovs | ||
|
||
/datum/preference/choiced/tunnel_vision_fov/is_accessible(datum/preferences/preferences) | ||
if (!..(preferences)) | ||
return FALSE | ||
|
||
return "Tunnel Vision" in preferences.all_quirks | ||
|
||
/datum/preference/choiced/tunnel_vision_fov/apply_to_human(mob/living/carbon/human/target, value) | ||
return |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
...i/interfaces/PreferencesMenu/preferences/features/character_preferences/tunnel_vision.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import { FeatureChoiced, FeatureDropdownInput } from '../base'; | ||
|
||
export const tunnel_vision_fov: FeatureChoiced = { | ||
name: 'Tunnel Vision FOV', | ||
component: FeatureDropdownInput, | ||
}; |