From 96991516b6eb237138ad5f0a2996faf6b998f19e Mon Sep 17 00:00:00 2001 From: sladecraven Date: Fri, 12 Mar 2021 15:43:53 +0100 Subject: [PATCH] #2 add Naturaist skill --- img/icons/.directory | 4 +--- img/icons/forest-camp.svg | 1 + img/icons/language_generic.svg | 1 + module/actor-sheet.js | 1 + packs/languages.db | 15 +++++++++++++++ packs/skills.db | 1 + system.json | 11 ++++++++++- 7 files changed, 30 insertions(+), 4 deletions(-) create mode 100644 img/icons/forest-camp.svg create mode 100644 img/icons/language_generic.svg create mode 100644 packs/languages.db diff --git a/img/icons/.directory b/img/icons/.directory index de7028d..8a192c3 100644 --- a/img/icons/.directory +++ b/img/icons/.directory @@ -1,7 +1,5 @@ [Dolphin] -SortOrder=1 -SortRole=modificationtime -Timestamp=2021,1,19,23,13,52 +Timestamp=2021,3,12,15,41,28.086 Version=4 ViewMode=1 VisibleRoles=Details_text,Details_size,Details_modificationtime,Details_creationtime,CustomizedDetails diff --git a/img/icons/forest-camp.svg b/img/icons/forest-camp.svg new file mode 100644 index 0000000..8aba9e3 --- /dev/null +++ b/img/icons/forest-camp.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/img/icons/language_generic.svg b/img/icons/language_generic.svg new file mode 100644 index 0000000..a5d1661 --- /dev/null +++ b/img/icons/language_generic.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/module/actor-sheet.js b/module/actor-sheet.js index 0f75153..826c689 100644 --- a/module/actor-sheet.js +++ b/module/actor-sheet.js @@ -52,6 +52,7 @@ export class SoSActorSheet extends ActorSheet { data.data.mainSubculture = data.data.subcultureList.find( subc => subc._id == data.data.subculture); } data.data.languageList = this.actor.data.items.filter( item => item.type == 'language'); + data.data.weaknessList = this.actor.data.items.filter( item => item.type == 'weakness'); data.data.geneline = this.actor.data.items.find( item => item.type == 'geneline'); data.data.editStatSkill = this.options.editStatSkill; console.log("stats", data); diff --git a/packs/languages.db b/packs/languages.db new file mode 100644 index 0000000..9103e04 --- /dev/null +++ b/packs/languages.db @@ -0,0 +1,15 @@ +{"name":"Punjabi","permission":{"default":0,"pJLHbu8WlBVyfXG4":3},"type":"language","data":{"description":null},"flags":{},"img":"systems/foundryvtt-shadows-over-sol/img/icons/language_generic.svg","effects":[],"_id":"0OaXJm1iih3gYI6P"} +{"name":"Hindi","permission":{"default":0,"pJLHbu8WlBVyfXG4":3},"type":"language","data":{"description":null},"flags":{},"img":"systems/foundryvtt-shadows-over-sol/img/icons/language_generic.svg","effects":[],"_id":"6SrEUZyVWEotG1r5"} +{"name":"Javanese","permission":{"default":0,"pJLHbu8WlBVyfXG4":3},"type":"language","data":{"description":null},"flags":{},"img":"systems/foundryvtt-shadows-over-sol/img/icons/language_generic.svg","effects":[],"_id":"IqOylpRQpYFh6LNO"} +{"name":"Bengali","permission":{"default":0,"pJLHbu8WlBVyfXG4":3},"type":"language","data":{"description":null},"flags":{},"img":"systems/foundryvtt-shadows-over-sol/img/icons/language_generic.svg","effects":[],"_id":"JfRw5mPVhHxRoImL"} +{"name":"Portuguese","permission":{"default":0,"pJLHbu8WlBVyfXG4":3},"type":"language","data":{"description":null},"flags":{},"img":"systems/foundryvtt-shadows-over-sol/img/icons/language_generic.svg","effects":[],"_id":"PBIkRjiWvjZga5Sh"} +{"name":"Malay","permission":{"default":0,"pJLHbu8WlBVyfXG4":3},"type":"language","data":{"description":null},"flags":{},"img":"systems/foundryvtt-shadows-over-sol/img/icons/language_generic.svg","effects":[],"_id":"Twrh1paNKmVYfwiX"} +{"name":"Spanish","permission":{"default":0,"pJLHbu8WlBVyfXG4":3},"type":"language","data":{"description":null},"flags":{},"img":"systems/foundryvtt-shadows-over-sol/img/icons/language_generic.svg","effects":[],"_id":"VIDgP7Tac11z11Ue"} +{"name":"English","permission":{"default":0,"pJLHbu8WlBVyfXG4":3},"type":"language","data":{"description":null},"flags":{},"img":"systems/foundryvtt-shadows-over-sol/img/icons/language_generic.svg","effects":[],"_id":"Z8r1Lr6tZpI1UFZf"} +{"name":"Mandarin","permission":{"default":0,"pJLHbu8WlBVyfXG4":3},"type":"language","data":{"description":null},"flags":{},"img":"systems/foundryvtt-shadows-over-sol/img/icons/language_generic.svg","effects":[],"_id":"bsUeqWPcT8KO4oEg"} +{"name":"Wu","permission":{"default":0,"pJLHbu8WlBVyfXG4":3},"type":"language","data":{"description":null},"flags":{},"img":"systems/foundryvtt-shadows-over-sol/img/icons/language_generic.svg","effects":[],"_id":"empozpJ5aDBOVQo8"} +{"name":"Arabic","permission":{"default":0,"pJLHbu8WlBVyfXG4":3},"type":"language","data":{"description":null},"flags":{},"img":"systems/foundryvtt-shadows-over-sol/img/icons/language_generic.svg","effects":[],"_id":"fpaTetKF4Y1UgBKg"} +{"name":"Japanese","permission":{"default":0,"pJLHbu8WlBVyfXG4":3},"type":"language","data":{"description":"

French language

"},"flags":{},"img":"systems/foundryvtt-shadows-over-sol/img/icons/language_generic.svg","effects":[],"_id":"fzJ505qsIwl3CIFZ"} +{"name":"French","permission":{"default":0,"pJLHbu8WlBVyfXG4":3},"type":"language","data":{"description":"

French language

"},"flags":{},"img":"systems/foundryvtt-shadows-over-sol/img/icons/language_generic.svg","effects":[],"_id":"mp47bUSdiBX7GgBQ"} +{"name":"German","permission":{"default":0,"pJLHbu8WlBVyfXG4":3},"type":"language","data":{"description":null},"flags":{},"img":"systems/foundryvtt-shadows-over-sol/img/icons/language_generic.svg","effects":[],"_id":"weG6nxdHeH4efiSh"} +{"name":"Russian","permission":{"default":0,"pJLHbu8WlBVyfXG4":3},"type":"language","data":{"description":null},"flags":{},"img":"systems/foundryvtt-shadows-over-sol/img/icons/language_generic.svg","effects":[],"_id":"xbpEhhdqx4o5KUJA"} diff --git a/packs/skills.db b/packs/skills.db index 0ed3859..0a5800d 100644 --- a/packs/skills.db +++ b/packs/skills.db @@ -14,6 +14,7 @@ {"name":"Conspiracy","permission":{"default":0,"pJLHbu8WlBVyfXG4":3},"type":"skill","data":{"value":0,"xp":0,"description":"

Conspiracy is the skill of knowing information others want suppressed or at least knowing where to look to find such information. It also includes the ability to sift through the resulting conspiracy theories, separating the dross from the kernels of truth. Conspiracy is the skill of finding things that don’t want to be found.

\n

 

"},"flags":{},"img":"systems/foundryvtt-shadows-over-sol/img/icons/conspiracy.svg","effects":[],"_id":"XCoRrznhqaUHiiPI"} {"name":"Melee","permission":{"default":0,"pJLHbu8WlBVyfXG4":3},"type":"skill","data":{"value":0,"xp":0,"description":"

Melee is the skill used for hand-to-hand combat, street fighting, wrestling, fencing, boxing and any other activity mimicking close combat. Despite the prevalence of guns and other advanced weaponry, simple fistfights remain the most common type of violence in the solar system.

\n

 

"},"flags":{},"img":"systems/foundryvtt-shadows-over-sol/img/icons/melee.svg","effects":[],"_id":"XqmSwOdflpM8ocfz"} {"name":"Medic","permission":{"default":0,"pJLHbu8WlBVyfXG4":3},"type":"skill","data":{"value":0,"xp":0,"description":"

This is the skill of applied medical knowledge. It’s used to treat injuries and other medical conditions, take practical diagnoses, treat poisons, perform surgery, apply first aid and dress wounds. It does not cover the academic or research aspects of biological knowledge; for those, use Bio-Sci.

\n

 

"},"flags":{},"img":"systems/foundryvtt-shadows-over-sol/img/icons/medic.svg","effects":[],"_id":"Yx5D41bOiWdSYqJg"} +{"name":"Naturalist","permission":{"default":0,"pJLHbu8WlBVyfXG4":3},"type":"skill","data":{"value":0,"xp":0,"description":"

The naturalist skill covers the ability to survive outside the bounds of civilization as well as the applied knowledge of the local flora and fauna. It covers working with and training animals as well as the practical knowledge of both what’s edible and what’s dangerous. It covers tracking and reading animal signs and makeshift ways to gauge atmospheric pressure, composition and radiation. It covers foraging for food, firewood or other basic natural resources. The Naturalist skill also includes skill in riding an animal or using an animal as manual labor.

\n

 

"},"flags":{},"img":"systems/foundryvtt-shadows-over-sol/img/icons/naturalist.svg","effects":[],"_id":"aT8X7QFkXD0Oiwdd"} {"name":"Persuade","permission":{"default":0,"pJLHbu8WlBVyfXG4":3},"type":"skill","data":{"value":0,"xp":0,"description":"

The persuade skill covers a variety of tactics to get other people to see things your way or to otherwise comply with your requests. It covers sweet-talking, formal diplomacy, browbeating, fast-talking and intimidation. It covers knowing useful techniques in argument, as well as knowing the right social approach to use— from solid reasoning to subtle psychological tricks to seem more commanding. It does not include haggling and deal-making, nor does it include seduction and putting people at ease; for those, use Broker or Socialize, respectively.

\n

 

"},"flags":{},"img":"systems/foundryvtt-shadows-over-sol/img/icons/persuade.svg","effects":[],"_id":"b43edlbX4VprPk5p"} {"name":"Mechanic","permission":{"default":0,"pJLHbu8WlBVyfXG4":3},"type":"skill","data":{"value":0,"xp":0,"description":"

Mechanic is an applied skill covering the upkeep, repair and assembly of pretty much any mechanical system. Use it for repairing vehicular damage after a battle, maintenance to a ship’s systems or assembling a new piece of cyberware. It does not include designing, repurposing or giving new functionality to mechanical systems; for those, use engineer.

\n

 

"},"flags":{},"img":"systems/foundryvtt-shadows-over-sol/img/icons/mechanic.svg","effects":[],"_id":"dJ7ZdimLGygBcC0M"} {"name":"Deception","permission":{"default":0,"pJLHbu8WlBVyfXG4":3},"type":"skill","data":{"value":0,"xp":0,"description":"

The deception skill includes telling convincing lies, giving off inaccurate body language, pulling the wool over the eyes of others and disguising oneself as someone else. Additionally, deception is useful in gambling, acting and other activities that require making oneself difficult to read or which involve deceiving others.

\n

 

"},"flags":{},"img":"systems/foundryvtt-shadows-over-sol/img/icons/deception.svg","effects":[],"_id":"fBA0UG5lh8jlTbih"} diff --git a/system.json b/system.json index 8e676af..141d826 100644 --- a/system.json +++ b/system.json @@ -2,7 +2,7 @@ "name": "foundryvtt-shadows-over-sol", "title": "Shadows over Sol", "description": "Shadows over Sol for FoundryVTT", - "version": "0.1.5", + "version": "0.1.6", "manifestPlusVersion": "1.0.0", "minimumCoreVersion": "0.7.5", "compatibleCoreVersion": "0.7.9", @@ -49,6 +49,15 @@ "path": "./packs/injuries.db", "entity": "Item", "tags" : [ "injury" ] + }, + { + "name": "languages", + "label": "Languages", + "system": "foundryvtt-shadows-over-sol", + "module": "foundryvtt-shadows-over-sol", + "path": "./packs/languages.db", + "entity": "Item", + "tags" : [ "language" ] }, { "name": "combat-actions",