• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

First Machine Age's Mods (Combined repo.)


Commit MetaInfo

Révision621404ba333cc39774da081e018050618855d3ae (tree)
l'heure2021-10-11 05:12:36
Auteurmelchior <melchior@user...>
Commitermelchior

Message de Log

add barricade block

WIP: new kind of barricade (1/3)

Change Summary

Modification

--- a/Assorted/Assorted.csproj
+++ b/Assorted/Assorted.csproj
@@ -100,6 +100,7 @@
100100 <Folder Include="assets\defensive\textures\ceramic\" />
101101 <Folder Include="assets\defensive\shapes\block\ceramic\" />
102102 <Folder Include="assets\defensive\blocktypes\ceramic\" />
103+ <Folder Include="assets\defensive\textures\liquids\" />
103104 </ItemGroup>
104105 <ItemGroup>
105106 <None Include="assets\defensive\blocktypes\metal\grille_horizontal.json">
@@ -218,6 +219,33 @@
218219 <None Include="assets\defensive\recipes\grid\enclosed_candle.json">
219220 <CopyToOutputDirectory>Always</CopyToOutputDirectory>
220221 </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>
221249 </ItemGroup>
222250 <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
223251 </Project>
\ No newline at end of file
--- a/Assorted/assets/defensive/blocktypes/wood/log_barricade.json
+++ b/Assorted/assets/defensive/blocktypes/wood/log_barricade.json
@@ -7,9 +7,31 @@
77 ],
88 creativeinventory: { "general": ["log_barricade-ns"], "construction": ["log_barricade-ns"] },
99 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+ },
1222 },
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+ },
1335 sidesolid: {
1436 all: false, down: true, up: true
1537 },
@@ -45,8 +67,8 @@
4567 lightAbsorption: 5,
4668 combustibleProps:
4769 {
48- burnTemperature: 800,
49- burnDuration: 80,
70+ burnTemperature: 700,
71+ burnDuration: 72,
5072 },
5173 maxStackSize: 16,
5274 materialDensity: 700,
--- a/Assorted/assets/defensive/lang/en.json
+++ b/Assorted/assets/defensive/lang/en.json
@@ -10,16 +10,18 @@
1010 "defensive:block-false_wall-*": "False wall",
1111 "defensive:block-enclosed_candle-*":"Enclosed candle holder",
1212 "defensive:block-false_floor-*":"False Floor",
13+ "defensive:block-log_barricade-*":"Log Barricade",
1314
1415 "defensive:blockdesc-grille_vertical-*": "A vertical grille of latticed wrought iron bars.",
1516 "defensive:blockdesc-boltable_door-*":"Integrated bolt lock.",
1617 "defensive:blockdesc-grille_horizontal-*": "A horizontal grille of latticed wrought iron bars.",
1718 "defensive:blockdesc-grille_vertical-*": "Vertical cross-bars of sturdy iron.",
19+ "defensive:blockdesc-log_barricade-*":"A rough barrier fit for the Frontier.",
1820
1921 "game:tabname-defensive":"Defensive Stuff",
2022
2123 "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.",
2325 "defensive:ingameerror-boltedclosed":"Bolted Shut.",
2426 "defensive:bolted_shut": "<font color='red'>Bolted Shut!</font>",
2527 "defensive:bolted_open": "Its Open.",
--- a/Assorted/assets/defensive/shapes/block/stone/climbing_slab.json
+++ b/Assorted/assets/defensive/shapes/block/stone/climbing_slab.json
@@ -15,20 +15,20 @@
1515 {
1616 "name": "Slab",
1717 "from": [ 0.0, 0.0, 0.0 ],
18- "to": [ 16.0, 16.0, 8.0 ],
18+ "to": [ 16.0, 16.0, 12.0 ],
1919 "faces": {
2020 "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 ] },
2222 "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 ] }
2626 },
2727 "children": [
2828 {
2929 "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 ],
3232 "rotationOrigin": [ 2.0, 1.0, 8.0 ],
3333 "faces": {
3434 "north": { "texture": "#smoothstone", "uv": [ 5.0, 6.5, 7.0, 12.5 ], "rotation": 90 },
@@ -41,8 +41,8 @@
4141 },
4242 {
4343 "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 ],
4646 "rotationOrigin": [ 7.0, 5.0, 8.0 ],
4747 "faces": {
4848 "north": { "texture": "#smoothstone", "uv": [ 1.5, 7.5, 7.5, 9.5 ] },
@@ -55,8 +55,8 @@
5555 },
5656 {
5757 "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 ],
6060 "rotationOrigin": [ 2.0, 9.0, 8.0 ],
6161 "faces": {
6262 "north": { "texture": "#smoothstone", "uv": [ 5.0, 10.5, 11.0, 12.5 ] },
--- a/Assorted/assets/defensive/shapes/block/wood/log_barricade.json
+++ b/Assorted/assets/defensive/shapes/block/wood/log_barricade.json
@@ -8,9 +8,6 @@
88 "textureSizes": {
99 },
1010 "textures": {
11- "side": "game:block/wood/firewood/side",
12- "vines": "game:block/vines/basket/normal-westeast",
13- "toplog": "game:block/wood/firewood/front"
1411 },
1512 "elements": [
1613 {
@@ -60,8 +57,8 @@
6057 },
6158 {
6259 "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 ],
6562 "rotationOrigin": [ 0.0, 0.0, 0.0 ],
6663 "rotationY": 45.0,
6764 "faces": {
@@ -90,8 +87,8 @@
9087 },
9188 {
9289 "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 ],
9592 "rotationOrigin": [ 1.5, 0.0, 1.5 ],
9693 "rotationY": -5.122641596244655E-6,
9794 "faces": {
--- a/Assorted/modinfo.json
+++ b/Assorted/modinfo.json
@@ -1,12 +1,12 @@
11 {
22 "type": "code",
33 "name": "Defensive Structures",
4- "description" : "Defensive structures and emplacements, ideal for stone castles...",
4+ "description" : "Defensive structures & emplacements, ideal for outposts, castles, forts...",
55 "authors": ["Melchior"],
6- "version": "0.1.5",
6+ "version": "0.1.6",
77 "ModID":"defensive",
88 "dependencies": {
9- "game": "1.15.3",
9+ "game": "1.15.6",
1010 "survival": ""
1111 },
1212 "website": "http://noname.nope"