First Machine Age's Mods (Combined repo.)
Révision | 621404ba333cc39774da081e018050618855d3ae (tree) |
---|---|
l'heure | 2021-10-11 05:12:36 |
Auteur | melchior <melchior@user...> |
Commiter | melchior |
add barricade block
WIP: new kind of barricade (1/3)
@@ -100,6 +100,7 @@ | ||
100 | 100 | <Folder Include="assets\defensive\textures\ceramic\" /> |
101 | 101 | <Folder Include="assets\defensive\shapes\block\ceramic\" /> |
102 | 102 | <Folder Include="assets\defensive\blocktypes\ceramic\" /> |
103 | + <Folder Include="assets\defensive\textures\liquids\" /> | |
103 | 104 | </ItemGroup> |
104 | 105 | <ItemGroup> |
105 | 106 | <None Include="assets\defensive\blocktypes\metal\grille_horizontal.json"> |
@@ -218,6 +219,33 @@ | ||
218 | 219 | <None Include="assets\defensive\recipes\grid\enclosed_candle.json"> |
219 | 220 | <CopyToOutputDirectory>Always</CopyToOutputDirectory> |
220 | 221 | </None> |
222 | + <None Include="assets\defensive\blocktypes\metal\crusie_lamp.json"> | |
223 | + <CopyToOutputDirectory>Always</CopyToOutputDirectory> | |
224 | + </None> | |
225 | + <None Include="assets\defensive\shapes\block\metal\crusie_lamp.json"> | |
226 | + <CopyToOutputDirectory>Always</CopyToOutputDirectory> | |
227 | + </None> | |
228 | + <None Include="assets\defensive\textures\metal\black_iron2.png"> | |
229 | + <CopyToOutputDirectory>Always</CopyToOutputDirectory> | |
230 | + </None> | |
231 | + <None Include="assets\defensive\textures\liquids\liquid_oil.png"> | |
232 | + <CopyToOutputDirectory>Always</CopyToOutputDirectory> | |
233 | + </None> | |
234 | + <None Include="assets\defensive\shapes\block\wood\log_cornercade.json"> | |
235 | + <CopyToOutputDirectory>Always</CopyToOutputDirectory> | |
236 | + </None> | |
237 | + <None Include="assets\defensive\shapes\block\wood\log_topcade.json"> | |
238 | + <CopyToOutputDirectory>Always</CopyToOutputDirectory> | |
239 | + </None> | |
240 | + <None Include="assets\defensive\shapes\block\wood\log_barricade.json"> | |
241 | + <CopyToOutputDirectory>Always</CopyToOutputDirectory> | |
242 | + </None> | |
243 | + <None Include="assets\defensive\blocktypes\wood\log_barricade.json"> | |
244 | + <CopyToOutputDirectory>Always</CopyToOutputDirectory> | |
245 | + </None> | |
246 | + <None Include="assets\defensive\shapes\block\wood\log_barricade2.json"> | |
247 | + <CopyToOutputDirectory>Always</CopyToOutputDirectory> | |
248 | + </None> | |
221 | 249 | </ItemGroup> |
222 | 250 | <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> |
223 | 251 | </Project> |
\ No newline at end of file |
@@ -7,9 +7,31 @@ | ||
7 | 7 | ], |
8 | 8 | creativeinventory: { "general": ["log_barricade-ns"], "construction": ["log_barricade-ns"] }, |
9 | 9 | shapeByType: { |
10 | - "*-ns": { base: "block/wood/log_barricade" }, | |
11 | - "*-we": { base: "block/wood/log_barricade", rotateY: 90}, | |
10 | + "*-ns": { base: "block/wood/log_barricade", | |
11 | + alternates: | |
12 | + [ | |
13 | + { base: "block/wood/log_barricade2" }, | |
14 | + ] | |
15 | + }, | |
16 | + "*-we": { base: "block/wood/log_barricade", rotateY: 90, | |
17 | + alternates: | |
18 | + [ | |
19 | + { base: "block/wood/log_barricade2" , rotateY: 90 }, | |
20 | + ] | |
21 | + }, | |
12 | 22 | }, |
23 | + collisionbox: { x1: 0, y1: 0, z1: 0.3, x2: 1, y2: 1.1, z2: 0.71, | |
24 | + rotateYByType: { | |
25 | + "*-ns": 0, | |
26 | + "*-we": 90, | |
27 | + }, | |
28 | + }, | |
29 | + selectionbox: { x1: 0, y1: 0, z1: 0.3, x2: 1, y2: 1.1, z2: 0.71, | |
30 | + rotateYByType: { | |
31 | + "*-ns": 0, | |
32 | + "*-we": 90, | |
33 | + }, | |
34 | + }, | |
13 | 35 | sidesolid: { |
14 | 36 | all: false, down: true, up: true |
15 | 37 | }, |
@@ -45,8 +67,8 @@ | ||
45 | 67 | lightAbsorption: 5, |
46 | 68 | combustibleProps: |
47 | 69 | { |
48 | - burnTemperature: 800, | |
49 | - burnDuration: 80, | |
70 | + burnTemperature: 700, | |
71 | + burnDuration: 72, | |
50 | 72 | }, |
51 | 73 | maxStackSize: 16, |
52 | 74 | materialDensity: 700, |
@@ -10,16 +10,18 @@ | ||
10 | 10 | "defensive:block-false_wall-*": "False wall", |
11 | 11 | "defensive:block-enclosed_candle-*":"Enclosed candle holder", |
12 | 12 | "defensive:block-false_floor-*":"False Floor", |
13 | + "defensive:block-log_barricade-*":"Log Barricade", | |
13 | 14 | |
14 | 15 | "defensive:blockdesc-grille_vertical-*": "A vertical grille of latticed wrought iron bars.", |
15 | 16 | "defensive:blockdesc-boltable_door-*":"Integrated bolt lock.", |
16 | 17 | "defensive:blockdesc-grille_horizontal-*": "A horizontal grille of latticed wrought iron bars.", |
17 | 18 | "defensive:blockdesc-grille_vertical-*": "Vertical cross-bars of sturdy iron.", |
19 | + "defensive:blockdesc-log_barricade-*":"A rough barrier fit for the Frontier.", | |
18 | 20 | |
19 | 21 | "game:tabname-defensive":"Defensive Stuff", |
20 | 22 | |
21 | 23 | "defensive:placefailure-requirehorizontalside": "Cannot place block here! It needs one solid sided block adjacent.", |
22 | - "defensive:ingameerror-requirehorizontalside": "2Cannot place block here! It needs one solid sided block adjacent.", | |
24 | + "defensive:ingameerror-requirehorizontalside": "Cannot place that here! Needs an adjacent solid sided block.", | |
23 | 25 | "defensive:ingameerror-boltedclosed":"Bolted Shut.", |
24 | 26 | "defensive:bolted_shut": "<font color='red'>Bolted Shut!</font>", |
25 | 27 | "defensive:bolted_open": "Its Open.", |
@@ -15,20 +15,20 @@ | ||
15 | 15 | { |
16 | 16 | "name": "Slab", |
17 | 17 | "from": [ 0.0, 0.0, 0.0 ], |
18 | - "to": [ 16.0, 16.0, 8.0 ], | |
18 | + "to": [ 16.0, 16.0, 12.0 ], | |
19 | 19 | "faces": { |
20 | 20 | "north": { "texture": "#brick", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }, |
21 | - "east": { "texture": "#brick", "uv": [ 0.0, 0.0, 8.0, 16.0 ] }, | |
21 | + "east": { "texture": "#brick", "uv": [ 0.0, 0.0, 12.0, 16.0 ] }, | |
22 | 22 | "south": { "texture": "#brick", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }, |
23 | - "west": { "texture": "#brick", "uv": [ 0.0, 0.0, 8.0, 16.0 ] }, | |
24 | - "up": { "texture": "#brick", "uv": [ 0.0, 0.0, 16.0, 8.0 ] }, | |
25 | - "down": { "texture": "#brick", "uv": [ 0.0, 0.0, 16.0, 8.0 ] } | |
23 | + "west": { "texture": "#brick", "uv": [ 0.0, 0.0, 12.0, 16.0 ] }, | |
24 | + "up": { "texture": "#brick", "uv": [ 0.0, 0.0, 16.0, 12.0 ] }, | |
25 | + "down": { "texture": "#brick", "uv": [ 0.0, 0.0, 16.0, 12.0 ] } | |
26 | 26 | }, |
27 | 27 | "children": [ |
28 | 28 | { |
29 | 29 | "name": "Foothold1", |
30 | - "from": [ 2.0, 1.0, 8.0 ], | |
31 | - "to": [ 8.0, 3.0, 12.0 ], | |
30 | + "from": [ 1.2, 1.5, 12.0 ], | |
31 | + "to": [ 7.2, 3.5, 16.0 ], | |
32 | 32 | "rotationOrigin": [ 2.0, 1.0, 8.0 ], |
33 | 33 | "faces": { |
34 | 34 | "north": { "texture": "#smoothstone", "uv": [ 5.0, 6.5, 7.0, 12.5 ], "rotation": 90 }, |
@@ -41,8 +41,8 @@ | ||
41 | 41 | }, |
42 | 42 | { |
43 | 43 | "name": "Foothold2", |
44 | - "from": [ 7.0, 6.0, 8.0 ], | |
45 | - "to": [ 13.0, 8.0, 12.0 ], | |
44 | + "from": [ 8.5, 5.5, 12.0 ], | |
45 | + "to": [ 14.5, 7.5, 16.0 ], | |
46 | 46 | "rotationOrigin": [ 7.0, 5.0, 8.0 ], |
47 | 47 | "faces": { |
48 | 48 | "north": { "texture": "#smoothstone", "uv": [ 1.5, 7.5, 7.5, 9.5 ] }, |
@@ -55,8 +55,8 @@ | ||
55 | 55 | }, |
56 | 56 | { |
57 | 57 | "name": "Foothold3", |
58 | - "from": [ 2.0, 11.0, 8.0 ], | |
59 | - "to": [ 8.0, 13.0, 12.0 ], | |
58 | + "from": [ 1.5, 11.0, 12.0 ], | |
59 | + "to": [ 7.5, 13.0, 16.0 ], | |
60 | 60 | "rotationOrigin": [ 2.0, 9.0, 8.0 ], |
61 | 61 | "faces": { |
62 | 62 | "north": { "texture": "#smoothstone", "uv": [ 5.0, 10.5, 11.0, 12.5 ] }, |
@@ -8,9 +8,6 @@ | ||
8 | 8 | "textureSizes": { |
9 | 9 | }, |
10 | 10 | "textures": { |
11 | - "side": "game:block/wood/firewood/side", | |
12 | - "vines": "game:block/vines/basket/normal-westeast", | |
13 | - "toplog": "game:block/wood/firewood/front" | |
14 | 11 | }, |
15 | 12 | "elements": [ |
16 | 13 | { |
@@ -60,8 +57,8 @@ | ||
60 | 57 | }, |
61 | 58 | { |
62 | 59 | "name": "FrontLog2", |
63 | - "from": [ -2.0, 0.0, 9.5 ], | |
64 | - "to": [ 2.0, 16.0, 13.5 ], | |
60 | + "from": [ -2.0, 2.0, 9.5 ], | |
61 | + "to": [ 2.0, 18.0, 13.5 ], | |
65 | 62 | "rotationOrigin": [ 0.0, 0.0, 0.0 ], |
66 | 63 | "rotationY": 45.0, |
67 | 64 | "faces": { |
@@ -90,8 +87,8 @@ | ||
90 | 87 | }, |
91 | 88 | { |
92 | 89 | "name": "Binding4", |
93 | - "from": [ -0.25, 3.5, -0.25 ], | |
94 | - "to": [ 4.25, 4.5, 4.25 ], | |
90 | + "from": [ -0.25, 1.5, -0.25 ], | |
91 | + "to": [ 4.25, 2.5, 4.25 ], | |
95 | 92 | "rotationOrigin": [ 1.5, 0.0, 1.5 ], |
96 | 93 | "rotationY": -5.122641596244655E-6, |
97 | 94 | "faces": { |
@@ -1,12 +1,12 @@ | ||
1 | 1 | { |
2 | 2 | "type": "code", |
3 | 3 | "name": "Defensive Structures", |
4 | - "description" : "Defensive structures and emplacements, ideal for stone castles...", | |
4 | + "description" : "Defensive structures & emplacements, ideal for outposts, castles, forts...", | |
5 | 5 | "authors": ["Melchior"], |
6 | - "version": "0.1.5", | |
6 | + "version": "0.1.6", | |
7 | 7 | "ModID":"defensive", |
8 | 8 | "dependencies": { |
9 | - "game": "1.15.3", | |
9 | + "game": "1.15.6", | |
10 | 10 | "survival": "" |
11 | 11 | }, |
12 | 12 | "website": "http://noname.nope" |