Skip to content

Commit a2586d1

Browse files
author
Juraj
committed
add support for latest beta build
1 parent df11e66 commit a2586d1

File tree

16 files changed

+215
-129
lines changed

16 files changed

+215
-129
lines changed

config.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"entities": {
3+
"Default": {
4+
"combatant": {
5+
"bars": [
6+
{
7+
"attribute": "data.hp",
8+
"title": "Common.HitPoints",
9+
"label": "Common.HP",
10+
"temporary": false
11+
}
12+
]
13+
}
14+
},
15+
"Character": {
16+
"role": "friendly",
17+
"collection": {
18+
"detail": "{{'Common.Level'|l}} {{data.level}}, {{data.classes|join}}"
19+
}
20+
},
21+
"NPC": {
22+
"role": "neutral"
23+
}
24+
}
25+
}

entities.json

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"label": "characters"
77
},
88
"loadable": true,
9-
"role": "friendly"
9+
"standalone": true
1010
},
1111
{
1212
"name": "Monster",
@@ -23,8 +23,7 @@
2323
"collection": {
2424
"label": "npcs"
2525
},
26-
"loadable": true,
27-
"role": "neutral"
26+
"loadabe": true
2827
},
2928
{
3029
"name": "Spell",
@@ -39,9 +38,7 @@
3938
"label": "item",
4039
"collection": {
4140
"label": "items"
42-
},
43-
"loadable": true,
44-
"role": "neutral"
41+
}
4542
},
4643
{
4744
"name": "Class",
@@ -55,7 +52,6 @@
5552
"label": "table",
5653
"collection": {
5754
"label": "tables"
58-
},
59-
"native": true
55+
}
6056
}
6157
]

forms/character.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,12 +148,12 @@
148148
{
149149
"title": "Common.CurrentHP",
150150
"type": "number",
151-
"attribute": "data.hpCurrent"
151+
"attribute": "data.hp.current"
152152
},
153153
{
154154
"title": "Common.MaximumHP",
155155
"type": "number",
156-
"attribute": "data.hpMaximum"
156+
"attribute": "data.hp.maximum"
157157
}
158158
]
159159
},

forms/monster.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@
106106
},
107107
{
108108
"title": "Saves.SaveAsHD",
109-
"type": "number",
110109
"attribute": "data.saves.hd"
111110
},
112111
]

icons/tables.png

7.66 KB
Loading

lang/en.json

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,36 @@
11
{
22
"Ability.Charisma": "Charisma",
33
"Ability.Constitution": "Constitution",
4+
"Ability.DEX": "DEX",
45
"Ability.Dexterity": "Dexterity",
56
"Ability.Intelligence": "Intelligence",
67
"Ability.Strength": "Strength",
78
"Ability.Wisdom": "Wisdom",
89
"Alignment.Chaotic": "Chaotic",
910
"Alignment.Lawful": "Lawful",
1011
"Alignment.Neutral": "Neutral",
12+
"Character.Abilities": "Abilities",
13+
"Character.AbilityScores": "Ability Scores",
14+
"Character.Alignment": "Alignment",
15+
"Character.AttackBonus": "Attack Bonus",
16+
"Character.Class": "Class",
17+
"Character.Combat": "Combat",
18+
"Character.Equipment": "Equipment",
19+
"Character.Exploration": "Exploration",
20+
"Character.FindRoomTrap": "Find Room Trap",
21+
"Character.FindSecretDoor": "Find Secret Door",
22+
"Character.Item": "Item",
23+
"Character.Languages": "Languages",
24+
"Character.ListenAtDoor": "Listen At Door",
25+
"Character.Movement": "Movement",
26+
"Character.OpenStuckDoor": "Open Stuck Door",
27+
"Character.SavingThrows": "Saving Throws",
28+
"Character.Spell": "Spell",
29+
"Character.Spells": "Spells",
30+
"Character.Title": "Title",
31+
"CharacterAbility.Attack": "Attack",
32+
"CharacterAbility.Custom": "Custom",
33+
"CharacterAbility.Damage": "Damage",
1134
"Class.Abilities": "Abilities",
1235
"Class.Ability": "Ability",
1336
"Class.Armour": "Armour",
@@ -20,6 +43,7 @@
2043
"Cleric.Weapons": "Weapons",
2144
"Common.AC": "AC",
2245
"Common.AL": "AL",
46+
"Common.Ability": "Ability",
2347
"Common.Alignment": "Alignment",
2448
"Common.ArmorClass": "Armor Class",
2549
"Common.Armour": "Armour",
@@ -32,11 +56,13 @@
3256
"Common.Base": "Base",
3357
"Common.Capacity": "Capacity",
3458
"Common.Cost": "Cost",
59+
"Common.CurrentHP": "Current HP",
3560
"Common.Damage": "Damage",
3661
"Common.Data": "Data",
3762
"Common.Default": "Default",
3863
"Common.Description": "Description",
3964
"Common.Detail": "Detail",
65+
"Common.DiceExpression": "Dice Expression",
4066
"Common.Entries": "Entries",
4167
"Common.Entry": "Entry",
4268
"Common.Experience": "Experience",
@@ -46,10 +72,12 @@
4672
"Common.HitDice": "Hit Dice",
4773
"Common.HitPoints": "Hit Points",
4874
"Common.Image": "Image",
75+
"Common.InitiativeBonus": "Initiative Bonus",
4976
"Common.ItemType": "Item Type",
5077
"Common.LV": "LV",
5178
"Common.Level": "Level",
5279
"Common.MV": "MV",
80+
"Common.MaximumHP": "Maximum HP",
5381
"Common.Modifier": "Modifier",
5482
"Common.Movement": "Movement",
5583
"Common.Name": "Name",
@@ -144,6 +172,7 @@
144172
"Monster.ExperienceAward": "Experience Award",
145173
"Monster.Feature": "Feature",
146174
"Monster.Features": "Features",
175+
"Monster.ML": "ML",
147176
"Monster.MV": "MV",
148177
"Monster.MoraleRating": "Morale Rating",
149178
"Monster.NA": "NA",
@@ -152,6 +181,9 @@
152181
"Monster.SavingThrows": "Saving Throws",
153182
"Monster.TT": "TT",
154183
"Monster.TreasureType": "Treasure Type",
184+
"Movement.Encounters": "Encounters",
185+
"Movement.Exploration": "Exploration",
186+
"Movement.Overland": "Overland",
155187
"Saves.B": "B",
156188
"Saves.Breath": "Breath",
157189
"Saves.D": "D",
@@ -167,6 +199,7 @@
167199
"Spell.Duration": "Duration",
168200
"Spell.Level": "Level",
169201
"Spell.Range": "Range",
202+
"Stat.Constitution": "Constitution",
170203
"WeaponQuality.Blunt": "Blunt",
171204
"WeaponQuality.Brace": "Brace",
172205
"WeaponQuality.Charge": "Charge",

manifest.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
"id": "ose",
33
"name": "Old-School Essentials",
44
"type": "system",
5-
"version": "0.9.0",
5+
"version": "0.9.1",
66
"description": "A role-playing game of fantastic adventure, where players work together to overcome fearsome monsters, sinister plots, and deadly traps in search of wealth, power, and glory.",
7-
"download": "https://github.com/encounterplus/ose/releases/download/0.9.0/ose.system"
7+
"download": "https://github.com/encounterplus/ose/releases/download/0.9.1/ose.system",
8+
"compatibility": {
9+
"minimum": "5.0.0+3848"
10+
}
811
}

system.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
"descr" : "A role-playing game of fantastic adventure, where players work together to overcome fearsome monsters, sinister plots, and deadly traps in search of wealth, power, and glory.",
55
"id" : "ose",
66
"name" : "Old-School Essentials",
7-
"package" : "https:\/\/github.com\/encounterplus\/ose\/releases\/latest\/download\/ose.json",
8-
"repository" : "https:\/\/github.com\/encounterplus\/ose",
7+
"package" : "https://github.com/encounterplus/ose/releases/latest/download/manifest.json",
8+
"repository" : "https://github.com/encounterplus/ose",
99
"shortDescr" : "Award-winning role-playing game of fantastic adventure, monsters, and magic.",
1010
"shortName" : "OSE",
11-
"version" : "0.9.0",
12-
"website" : "https:\/\/necroticgnome.com\/pages\/about-old-school-essentials"
11+
"version" : "0.9.1",
12+
"website" : "https://necroticgnome.com/pages/about-old-school-essentials"
1313
}

views/character.json

Lines changed: 34 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
{
22
"debug": false,
33
"spacing": 8,
4-
"layout": "tabs",
5-
"padding": [20],
4+
"type": "tabs",
65
"views": [
76
// Main
87
{
@@ -11,8 +10,14 @@
1110
"custom": {
1211
"icon": "person"
1312
},
14-
"type": "partial",
15-
"value": "character-main",
13+
"type": "vStack",
14+
"padding": [ 16 ],
15+
"views": [
16+
{
17+
"type": "partial",
18+
"value": "character-main",
19+
}
20+
]
1621
},
1722
// Items
1823
{
@@ -21,8 +26,14 @@
2126
"custom": {
2227
"icon": "archivebox"
2328
},
24-
"type": "partial",
25-
"value": "character-items",
29+
"type": "vStack",
30+
"padding": [ 16 ],
31+
"views": [
32+
{
33+
"type": "partial",
34+
"value": "character-items",
35+
}
36+
]
2637
},
2738
// Spells
2839
{
@@ -31,8 +42,14 @@
3142
"custom": {
3243
"icon": "bolt"
3344
},
34-
"type": "partial",
35-
"value": "character-spells",
45+
"type": "vStack",
46+
"padding": [ 16 ],
47+
"views": [
48+
{
49+
"type": "partial",
50+
"value": "character-spells",
51+
}
52+
]
3653
},
3754
// Other
3855
{
@@ -41,31 +58,15 @@
4158
"custom": {
4259
"icon": "note.text"
4360
},
44-
"type": "partial",
45-
"value": "character-other",
61+
"type": "vStack",
62+
"padding": [ 16 ],
63+
"views": [
64+
{
65+
"type": "partial",
66+
"value": "character-other",
67+
}
68+
]
69+
4670
},
4771
],
48-
"attributes": [
49-
{
50-
"inCombatDetail": "{{'Common.AC'|l}} {{data.ac}} • {{'Common.LV'|l}} {{data.level}}",
51-
"outCombatDetail": "{{'Common.AC'|l}} {{data.ac}} • {{'Common.LV'|l}} {{data.level}}",
52-
"data.initiativeBonus": "#{% if data.initiativeBonus %}{{data.initiativeBonus}}{% else %}{{data.dex.mod|default: 0}}{% endif %}",
53-
},
54-
// ITEMS
55-
{
56-
"data.items": {
57-
"attribute": "data.items",
58-
"transform": "items"
59-
},
60-
"data.coins.total": "#({{data.coins.cp|default: 0}} / 100) + ({{data.coins.sp|default: 0}} / 10) + ({{data.coins.ep|default: 0}} / 2) + {{data.coins.gp|default: 0}} + ({{data.coins.pp|default: 0}} * 10)",
61-
},
62-
// SPELLS
63-
{
64-
"data.spellbook": {
65-
"attribute": "data.spells",
66-
"transform": "spellbook"
67-
},
68-
}
69-
70-
]
7172
}

views/monster.json

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,5 @@
6161
"type": "tags",
6262
"attribute": "tags"
6363
}
64-
],
65-
"attributes": [
66-
{
67-
"inCombatDetail": "{{'Common.AC'|l}} {{data.ac}} • {{'Common.HD'|l}} {{data.hd.value}}",
68-
"outCombatDetail": "{{'Common.AC'|l}} {{data.ac}} • {{'Common.HD'|l}} {{data.hd.value}}",
69-
"data.hd.formula": "{{data.hd.value}}d8{{data.hd.mod|signed}}"
70-
},
71-
{
72-
"data.hp": "{% if data.hd.average %}{{data.hd.average}} {{data.hd.formula|brackets}}{% else %}{{data.hd.formula}}{% endif %}"
73-
}
7464
]
7565
}

0 commit comments

Comments
 (0)