NN45 functionality, new bullet crafting, nuclear machines texture rework
@ -703,6 +703,7 @@ tile.reinforced_light.name=Verstärkter Glowstone
|
||||
tile.reinforced_lamp_off.name=Verstärkte Lampe
|
||||
tile.reinforced_lamp_on.name=Verstärkte Lampe
|
||||
|
||||
tile.concrete.name=Beton
|
||||
tile.brick_concrete.name=Betonziegel
|
||||
tile.brick_obsidian.name=Obsidianziegel
|
||||
tile.brick_light.name=Helle Ziegel
|
||||
@ -1746,6 +1747,10 @@ item.stamp_schrabidium_flat.name=Flacher Stempel (Schrabidium)
|
||||
item.stamp_schrabidium_plate.name=Plattenstempel (Schrabidium)
|
||||
item.stamp_schrabidium_wire.name=Kabelstempel (Schrabidium)
|
||||
item.stamp_schrabidium_circuit.name=Schaltkreisstempel (Schrabidium)
|
||||
item.stamp_357.name=.357 Magnum-Stempel
|
||||
item.stamp_44.name=.44 Magnum-Stempel
|
||||
item.stamp_9.name=Kleinkaliberstempel
|
||||
item.stamp_50.name=Großkaliberstempel
|
||||
|
||||
item.part_lithium.name=Lithiumstaubkiste
|
||||
item.part_beryllium.name=Berylliumstaubkiste
|
||||
|
||||
@ -233,6 +233,7 @@ container.nukePrototype=The Prototype
|
||||
container.nukeCustom=Custom Nuke
|
||||
container.nukeSolinium=The Blue Rinse
|
||||
container.nukeN2=N² Mine
|
||||
container.nukeN45=N45 Naval Mine
|
||||
|
||||
container.bombMulti=Multi Purpose Bomb
|
||||
|
||||
@ -246,6 +247,7 @@ tile.nuke_prototype.name=The Prototype
|
||||
tile.nuke_custom.name=Custom Nuke
|
||||
tile.nuke_solinium.name=The Blue Rinse
|
||||
tile.nuke_n2.name=N² Mine
|
||||
tile.nuke_n45.name=N45 Naval Mine
|
||||
|
||||
tile.bomb_multi.name=Multi Purpose Bomb
|
||||
tile.rejuvinator.name=Rejuvination Device
|
||||
@ -625,6 +627,27 @@ item.mechanism_launcher_1.name=Launcher Mechanism
|
||||
item.mechanism_launcher_2.name=Advanced Launcher Mechanism
|
||||
item.mechanism_special.name=High-Tech Weapon Mechanism
|
||||
|
||||
item.primer_357.name=.357 Magnum Primer (x16)
|
||||
item.primer_44.name=.44 Magnum Primer (x16)
|
||||
item.primer_9.name=Small Caliber Primer (x24)
|
||||
item.primer_50.name=Large Caliber Primer (x8)
|
||||
item.primer_buckshot.name=Buckshot Primer (x8)
|
||||
item.casing_357.name=.357 Magnum Casing (x16)
|
||||
item.casing_44.name=.44 Magnum Casing (x16)
|
||||
item.casing_9.name=Small Caliber Casing (x24)
|
||||
item.casing_50.name=Large Caliber Casing (x8)
|
||||
item.casing_buckshot.name=Buckshot Casing (x8)
|
||||
item.assembly_iron.name=Iron Bullet Assembly
|
||||
item.assembly_steel.name=Lead Bullet Assembly
|
||||
item.assembly_lead.name=Glass Bullet Assembly
|
||||
item.assembly_gold.name=Gold Bullet Assembly
|
||||
item.assembly_schrabidium.name=Schrabidium Bullet Assembly
|
||||
item.assembly_pip.name=Tainted Bullet Assembly
|
||||
item.assembly_nopip.name=.44 Magnum Assembly
|
||||
item.assembly_smg.name=9mm Assembly
|
||||
item.assembly_uzi.name=.22LR Assembly
|
||||
item.assembly_calamity.name=.50 BMG Assembly
|
||||
|
||||
item.piston_selenium.name=Radial Engine Piston
|
||||
|
||||
tile.block_aluminium.name=Block of Aluminium
|
||||
@ -703,6 +726,7 @@ tile.reinforced_light.name=Reinforced Glowstone
|
||||
tile.reinforced_lamp_off.name=Reinforced Lamp
|
||||
tile.reinforced_lamp_on.name=Reinforced Lamp
|
||||
|
||||
tile.concrete.name=Concrete
|
||||
tile.brick_concrete.name=Concrete Bricks
|
||||
tile.brick_obsidian.name=Obsidian Bricks
|
||||
tile.brick_light.name=Light Bricks
|
||||
@ -1746,6 +1770,10 @@ item.stamp_schrabidium_flat.name=Flat Stamp (Schrabidium)
|
||||
item.stamp_schrabidium_plate.name=Plate Stamp (Schrabidium)
|
||||
item.stamp_schrabidium_wire.name=Wire Stamp (Schrabidium)
|
||||
item.stamp_schrabidium_circuit.name=Circuit Stamp (Schrabidium)
|
||||
item.stamp_357.name=.357 Magnum Stamp
|
||||
item.stamp_44.name=.44 Magnum Stamp
|
||||
item.stamp_9.name=Small Caliber Stamp
|
||||
item.stamp_50.name=Large Caliber Stamp
|
||||
|
||||
item.part_lithium.name=Box of Lithium Dust
|
||||
item.part_beryllium.name=Box of Beryllium Dust
|
||||
|
||||
1293
assets/hbm/models/TheGadget3_smooth.obj
Normal file
587
assets/hbm/models/epress_body.obj
Normal file
@ -0,0 +1,587 @@
|
||||
# Blender v2.76 (sub 0) OBJ File: 'epress_body.blend'
|
||||
# www.blender.org
|
||||
o Cube_Cube.001
|
||||
v -0.500000 0.000000 0.500000
|
||||
v -0.500000 1.000000 0.500000
|
||||
v -0.500000 0.000000 -0.500000
|
||||
v -0.500000 1.000000 -0.500000
|
||||
v 0.500000 0.000000 0.500000
|
||||
v 0.500000 1.000000 0.500000
|
||||
v 0.500000 0.000000 -0.500000
|
||||
v 0.500000 1.000000 -0.500000
|
||||
v -0.166667 1.000000 -0.500000
|
||||
v -0.500000 2.000000 -0.500000
|
||||
v -0.500000 2.000000 0.500000
|
||||
v -0.166667 1.000000 0.500000
|
||||
v -0.166667 2.000000 0.500000
|
||||
v -0.166667 2.000000 -0.500000
|
||||
v 0.500000 2.000000 0.500000
|
||||
v 0.500000 2.000000 -0.500000
|
||||
v 0.500000 3.000000 0.500000
|
||||
v 0.500000 3.000000 -0.500000
|
||||
v -0.166667 3.000000 0.500000
|
||||
v -0.166667 3.000000 -0.500000
|
||||
v -0.166667 2.500000 -0.500000
|
||||
v -0.166667 2.500000 0.500000
|
||||
v -0.156250 0.343750 0.500000
|
||||
v -0.156250 0.656250 0.500000
|
||||
v -0.156250 0.343750 -0.500000
|
||||
v -0.156250 0.656250 -0.500000
|
||||
v 0.156250 0.343750 0.500000
|
||||
v 0.156250 0.656250 0.500000
|
||||
v 0.500000 0.343750 -0.156250
|
||||
v 0.500000 0.656250 -0.156250
|
||||
v -0.500000 0.343750 0.156250
|
||||
v -0.500000 0.656250 0.156250
|
||||
v 0.156250 0.656250 -0.500000
|
||||
v 0.156250 0.343750 -0.500000
|
||||
v -0.500000 0.656250 -0.156250
|
||||
v -0.500000 0.343750 -0.156250
|
||||
v 0.500000 0.656250 0.156250
|
||||
v 0.500000 0.343750 0.156250
|
||||
v -0.250000 0.250000 0.500000
|
||||
v -0.250000 0.750000 0.500000
|
||||
v -0.250000 0.250000 -0.500000
|
||||
v -0.250000 0.750000 -0.500000
|
||||
v 0.250000 0.250000 0.500000
|
||||
v 0.250000 0.750000 0.500000
|
||||
v 0.250000 0.250000 -0.500000
|
||||
v 0.250000 0.750000 -0.500000
|
||||
v -0.500000 0.750000 0.250000
|
||||
v -0.500000 0.750000 -0.250000
|
||||
v -0.500000 0.250000 -0.250000
|
||||
v -0.500000 0.250000 0.250000
|
||||
v 0.500000 0.250000 0.250000
|
||||
v 0.500000 0.250000 -0.250000
|
||||
v 0.500000 0.750000 -0.250000
|
||||
v 0.500000 0.750000 0.250000
|
||||
v 0.450000 0.750000 -0.250000
|
||||
v 0.450000 0.250000 -0.250000
|
||||
v 0.450000 0.750000 0.250000
|
||||
v 0.450000 0.250000 0.250000
|
||||
v 0.450000 0.656250 -0.156250
|
||||
v 0.450000 0.656250 0.156250
|
||||
v 0.450000 0.343750 0.156250
|
||||
v 0.450000 0.343750 -0.156250
|
||||
v -0.156250 0.656250 -0.450000
|
||||
v 0.156250 0.656250 -0.450000
|
||||
v 0.156250 0.343750 -0.450000
|
||||
v -0.156250 0.343750 -0.450000
|
||||
v -0.250000 0.750000 -0.450000
|
||||
v -0.250000 0.250000 -0.450000
|
||||
v 0.250000 0.750000 -0.450000
|
||||
v 0.250000 0.250000 -0.450000
|
||||
v -0.450000 0.250000 0.250000
|
||||
v -0.450000 0.750000 0.250000
|
||||
v -0.450000 0.750000 -0.250000
|
||||
v -0.450000 0.250000 -0.250000
|
||||
v -0.450000 0.343750 0.156250
|
||||
v -0.450000 0.656250 0.156250
|
||||
v -0.450000 0.656250 -0.156250
|
||||
v -0.450000 0.343750 -0.156250
|
||||
v 0.156250 0.656250 0.450000
|
||||
v -0.156250 0.656250 0.450000
|
||||
v -0.156250 0.343750 0.450000
|
||||
v 0.156250 0.343750 0.450000
|
||||
v -0.250000 0.250000 0.450000
|
||||
v -0.250000 0.750000 0.450000
|
||||
v 0.250000 0.750000 0.450000
|
||||
v 0.250000 0.250000 0.450000
|
||||
v 0.500000 2.175000 -0.325000
|
||||
v 0.500000 2.175000 0.325000
|
||||
v 0.500000 2.825000 -0.325000
|
||||
v 0.500000 2.825000 0.325000
|
||||
v 0.350000 2.175000 -0.325000
|
||||
v 0.350000 2.175000 0.325000
|
||||
v 0.350000 2.825000 -0.325000
|
||||
v 0.350000 2.825000 0.325000
|
||||
v 0.350000 2.175000 -0.151667
|
||||
v 0.350000 2.825000 -0.151667
|
||||
v 0.350000 2.175000 0.281667
|
||||
v 0.350000 2.175000 0.151667
|
||||
v 0.350000 2.825000 0.151667
|
||||
v 0.350000 2.825000 0.281667
|
||||
v 0.350000 2.175000 0.065000
|
||||
v 0.350000 2.175000 -0.065000
|
||||
v 0.350000 2.825000 -0.065000
|
||||
v 0.350000 2.825000 0.065000
|
||||
v 0.400000 2.175000 -0.151667
|
||||
v 0.400000 2.175000 -0.281667
|
||||
v 0.400000 2.825000 -0.281667
|
||||
v 0.400000 2.825000 -0.151667
|
||||
v 0.400000 2.175000 0.281667
|
||||
v 0.400000 2.175000 0.151667
|
||||
v 0.400000 2.825000 0.151667
|
||||
v 0.400000 2.825000 0.281667
|
||||
v 0.400000 2.175000 0.065000
|
||||
v 0.400000 2.175000 -0.065000
|
||||
v 0.400000 2.825000 -0.065000
|
||||
v 0.400000 2.825000 0.065000
|
||||
v 0.450000 2.175000 -0.184167
|
||||
v 0.450000 2.175000 -0.249167
|
||||
v 0.450000 2.825000 -0.249167
|
||||
v 0.450000 2.825000 -0.184167
|
||||
v 0.450000 2.175000 0.249167
|
||||
v 0.450000 2.175000 0.184167
|
||||
v 0.450000 2.825000 0.184167
|
||||
v 0.450000 2.825000 0.249167
|
||||
v 0.450000 2.175000 0.032500
|
||||
v 0.450000 2.175000 -0.032500
|
||||
v 0.450000 2.825000 -0.032500
|
||||
v 0.450000 2.825000 0.032500
|
||||
v 0.350000 2.825000 -0.281667
|
||||
v 0.350000 2.175000 -0.281667
|
||||
vt 0.657280 0.519248
|
||||
vt 0.657280 0.629673
|
||||
vt 0.491641 0.629673
|
||||
vt 0.436429 0.016646
|
||||
vt 0.602067 0.016646
|
||||
vt 0.602067 0.182285
|
||||
vt 0.403136 0.519248
|
||||
vt 0.403136 0.684886
|
||||
vt 0.237498 0.684886
|
||||
vt 0.292710 0.016646
|
||||
vt 0.292710 0.127072
|
||||
vt 0.127072 0.127072
|
||||
vt 0.237497 0.519248
|
||||
vt 0.182285 0.684886
|
||||
vt 0.458349 0.519248
|
||||
vt 0.458349 0.684886
|
||||
vt 0.182285 0.519248
|
||||
vt 0.016646 0.684886
|
||||
vt 0.263724 0.156059
|
||||
vt 0.156059 0.156059
|
||||
vt 0.292710 0.292710
|
||||
vt 0.292710 0.403136
|
||||
vt 0.127072 0.403136
|
||||
vt 0.182285 0.767705
|
||||
vt 0.403136 0.209891
|
||||
vt 0.292710 0.485955
|
||||
vt 0.127072 0.485955
|
||||
vt 0.237498 0.784422
|
||||
vt 0.458349 0.767705
|
||||
vt 0.127072 0.292710
|
||||
vt 0.016646 0.292710
|
||||
vt 0.016646 0.209891
|
||||
vt 0.830994 0.527529
|
||||
vt 0.830994 0.579291
|
||||
vt 0.779232 0.579292
|
||||
vt 0.819797 0.364817
|
||||
vt 0.819797 0.416579
|
||||
vt 0.768035 0.416579
|
||||
vt 0.444710 0.466270
|
||||
vt 0.444710 0.414508
|
||||
vt 0.496472 0.414508
|
||||
vt 0.776317 0.076690
|
||||
vt 0.776317 0.024928
|
||||
vt 0.828079 0.024928
|
||||
vt 0.223694 0.941944
|
||||
vt 0.306514 0.941944
|
||||
vt 0.347923 0.983353
|
||||
vt 0.223694 0.859125
|
||||
vt 0.182285 0.817715
|
||||
vt 0.347923 0.817715
|
||||
vt 0.182285 0.983354
|
||||
vt 0.140875 0.941944
|
||||
vt 0.071859 0.983354
|
||||
vt 0.140875 0.859125
|
||||
vt 0.058056 0.859125
|
||||
vt 0.016646 0.817715
|
||||
vt 0.058056 0.941944
|
||||
vt 0.016646 0.983354
|
||||
vt 0.637790 0.941944
|
||||
vt 0.679200 0.983353
|
||||
vt 0.513562 0.983353
|
||||
vt 0.554971 0.859125
|
||||
vt 0.513561 0.817715
|
||||
vt 0.679200 0.817715
|
||||
vt 0.554971 0.941944
|
||||
vt 0.458349 0.983353
|
||||
vt 0.389333 0.941944
|
||||
vt 0.472152 0.941944
|
||||
vt 0.472152 0.859125
|
||||
vt 0.389333 0.859125
|
||||
vt 0.734743 0.107747
|
||||
vt 0.726461 0.107747
|
||||
vt 0.726461 0.024928
|
||||
vt 0.768035 0.076690
|
||||
vt 0.768035 0.024928
|
||||
vt 0.726461 0.016646
|
||||
vt 0.643641 0.024928
|
||||
vt 0.635359 0.024928
|
||||
vt 0.643641 0.107747
|
||||
vt 0.718179 0.215577
|
||||
vt 0.718179 0.223859
|
||||
vt 0.635360 0.223859
|
||||
vt 0.635360 0.314960
|
||||
vt 0.635360 0.306678
|
||||
vt 0.718179 0.306678
|
||||
vt 0.496472 0.466270
|
||||
vt 0.496472 0.474552
|
||||
vt 0.444710 0.474552
|
||||
vt 0.444710 0.406226
|
||||
vt 0.496472 0.406226
|
||||
vt 0.759753 0.416579
|
||||
vt 0.759753 0.364817
|
||||
vt 0.828079 0.364817
|
||||
vt 0.828079 0.416579
|
||||
vt 0.491641 0.671248
|
||||
vt 0.499923 0.671248
|
||||
vt 0.499923 0.754067
|
||||
vt 0.591024 0.754067
|
||||
vt 0.582742 0.754067
|
||||
vt 0.582742 0.671248
|
||||
vt 0.779232 0.527530
|
||||
vt 0.779232 0.519248
|
||||
vt 0.830994 0.519248
|
||||
vt 0.830994 0.587573
|
||||
vt 0.779232 0.587573
|
||||
vt 0.627078 0.356535
|
||||
vt 0.635360 0.356535
|
||||
vt 0.635360 0.439354
|
||||
vt 0.726461 0.439354
|
||||
vt 0.718179 0.439354
|
||||
vt 0.718179 0.356535
|
||||
vt 0.702650 0.291150
|
||||
vt 0.650888 0.239388
|
||||
vt 0.650888 0.291150
|
||||
vt 0.702650 0.239388
|
||||
vt 0.726461 0.306678
|
||||
vt 0.436429 0.466270
|
||||
vt 0.436429 0.414508
|
||||
vt 0.504754 0.414508
|
||||
vt 0.504754 0.466270
|
||||
vt 0.627078 0.223859
|
||||
vt 0.515452 0.738538
|
||||
vt 0.515452 0.686776
|
||||
vt 0.567214 0.686776
|
||||
vt 0.582742 0.662966
|
||||
vt 0.499923 0.762349
|
||||
vt 0.819797 0.424861
|
||||
vt 0.768035 0.424861
|
||||
vt 0.768035 0.364817
|
||||
vt 0.768035 0.356535
|
||||
vt 0.819797 0.356535
|
||||
vt 0.702650 0.372063
|
||||
vt 0.650888 0.372063
|
||||
vt 0.702650 0.423825
|
||||
vt 0.650888 0.423825
|
||||
vt 0.635360 0.447636
|
||||
vt 0.718179 0.348253
|
||||
vt 0.839276 0.527529
|
||||
vt 0.839276 0.579291
|
||||
vt 0.770950 0.579292
|
||||
vt 0.770950 0.527530
|
||||
vt 0.710932 0.092219
|
||||
vt 0.659170 0.040457
|
||||
vt 0.828079 0.076690
|
||||
vt 0.828079 0.084972
|
||||
vt 0.776317 0.084972
|
||||
vt 0.836361 0.024928
|
||||
vt 0.836361 0.076690
|
||||
vt 0.643641 0.116029
|
||||
vt 0.776317 0.016646
|
||||
vt 0.828079 0.016646
|
||||
vt 0.436429 0.240423
|
||||
vt 0.461274 0.240423
|
||||
vt 0.461274 0.348088
|
||||
vt 0.156059 0.263724
|
||||
vt 0.263724 0.263724
|
||||
vt 0.729376 0.626913
|
||||
vt 0.729376 0.519248
|
||||
vt 0.737658 0.519248
|
||||
vt 0.593785 0.348088
|
||||
vt 0.568939 0.348088
|
||||
vt 0.568939 0.240423
|
||||
vt 0.719498 0.626913
|
||||
vt 0.719498 0.519248
|
||||
vt 0.461274 0.215577
|
||||
vt 0.708732 0.626913
|
||||
vt 0.698854 0.519248
|
||||
vt 0.698854 0.626913
|
||||
vt 0.690572 0.626913
|
||||
vt 0.798557 0.323242
|
||||
vt 0.798557 0.215577
|
||||
vt 0.806839 0.215577
|
||||
vt 0.768035 0.215577
|
||||
vt 0.768035 0.323242
|
||||
vt 0.759753 0.323242
|
||||
vt 0.729376 0.767870
|
||||
vt 0.729376 0.660205
|
||||
vt 0.737658 0.660205
|
||||
vt 0.698854 0.660205
|
||||
vt 0.698854 0.767870
|
||||
vt 0.690572 0.767870
|
||||
vt 0.708732 0.519248
|
||||
vt 0.788679 0.215577
|
||||
vt 0.788679 0.323242
|
||||
vt 0.777913 0.323242
|
||||
vt 0.777913 0.215577
|
||||
vt 0.719498 0.660205
|
||||
vt 0.719498 0.767870
|
||||
vt 0.708732 0.767870
|
||||
vt 0.708732 0.660205
|
||||
vt 0.461274 0.372934
|
||||
vt 0.491641 0.519248
|
||||
vt 0.436429 0.182285
|
||||
vt 0.127072 0.016646
|
||||
vt 0.016646 0.519248
|
||||
vt 0.403136 0.127072
|
||||
vt 0.403136 0.292710
|
||||
vt 0.403136 0.784422
|
||||
vt 0.016646 0.127072
|
||||
vt 0.306514 0.859125
|
||||
vt 0.637790 0.859124
|
||||
vt 0.734743 0.024928
|
||||
vt 0.643641 0.016646
|
||||
vt 0.635359 0.107747
|
||||
vt 0.635360 0.215577
|
||||
vt 0.718179 0.314960
|
||||
vt 0.491641 0.754067
|
||||
vt 0.591024 0.671248
|
||||
vt 0.627078 0.439354
|
||||
vt 0.726461 0.356535
|
||||
vt 0.726461 0.223859
|
||||
vt 0.627078 0.306678
|
||||
vt 0.567214 0.738538
|
||||
vt 0.499923 0.662966
|
||||
vt 0.582742 0.762349
|
||||
vt 0.718179 0.447636
|
||||
vt 0.635360 0.348253
|
||||
vt 0.659170 0.092219
|
||||
vt 0.710932 0.040457
|
||||
vt 0.726461 0.116029
|
||||
vt 0.436429 0.348088
|
||||
vt 0.737658 0.626913
|
||||
vt 0.593785 0.240423
|
||||
vt 0.568939 0.215577
|
||||
vt 0.690572 0.519248
|
||||
vt 0.806839 0.323242
|
||||
vt 0.759753 0.215577
|
||||
vt 0.737658 0.767870
|
||||
vt 0.690572 0.660205
|
||||
vt 0.568939 0.372934
|
||||
vn 0.000000 1.000000 0.000000
|
||||
vn 0.000000 -1.000000 0.000000
|
||||
vn -1.000000 0.000000 0.000000
|
||||
vn 0.000000 0.000000 -1.000000
|
||||
vn 0.000000 0.000000 1.000000
|
||||
vn 1.000000 0.000000 0.000000
|
||||
vn -0.832100 0.554700 0.000000
|
||||
vn 0.545000 0.000000 -0.838400
|
||||
vn 0.545000 0.000000 0.838400
|
||||
s off
|
||||
f 8/1/1 9/2/1 12/3/1
|
||||
f 3/4/2 7/5/2 5/6/2
|
||||
f 2/7/3 11/8/3 10/9/3
|
||||
f 14/10/2 16/11/2 15/12/2
|
||||
f 4/13/4 10/9/4 14/14/4
|
||||
f 12/15/5 13/16/5 11/8/5
|
||||
f 9/17/6 14/14/6 13/18/6
|
||||
f 16/11/6 87/19/6 88/20/6
|
||||
f 18/21/1 20/22/1 19/23/1
|
||||
f 14/14/4 10/9/4 21/24/4
|
||||
f 21/25/4 18/21/4 16/11/4
|
||||
f 20/22/3 21/26/3 22/27/3
|
||||
f 21/28/7 10/9/7 11/8/7
|
||||
f 11/8/5 13/16/5 22/29/5
|
||||
f 17/30/5 19/31/5 22/32/5
|
||||
f 35/33/3 36/34/3 31/35/3
|
||||
f 33/36/4 34/37/4 25/38/4
|
||||
f 37/39/6 38/40/6 29/41/6
|
||||
f 24/42/5 23/43/5 27/44/5
|
||||
f 54/45/6 53/46/6 8/47/6
|
||||
f 51/48/6 5/49/6 7/50/6
|
||||
f 54/45/6 6/51/6 5/49/6
|
||||
f 44/52/5 6/51/5 12/53/5
|
||||
f 5/49/5 6/51/5 44/52/5
|
||||
f 43/54/5 39/55/5 1/56/5
|
||||
f 40/57/5 2/58/5 1/56/5
|
||||
f 47/59/3 2/60/3 4/61/3
|
||||
f 49/62/3 3/63/3 1/64/3
|
||||
f 1/64/3 2/60/3 47/59/3
|
||||
f 48/65/3 4/61/3 3/63/3
|
||||
f 9/66/4 46/67/4 42/68/4
|
||||
f 3/63/4 4/61/4 42/68/4
|
||||
f 41/69/4 45/70/4 7/50/4
|
||||
f 46/67/4 8/47/4 7/50/4
|
||||
f 7/50/6 8/47/6 53/46/6
|
||||
f 44/71/3 85/72/3 86/73/3
|
||||
f 24/42/3 80/74/3 81/75/3
|
||||
f 43/76/1 86/73/1 83/77/1
|
||||
f 39/78/6 83/77/6 84/79/6
|
||||
f 52/80/1 56/81/1 58/82/1
|
||||
f 54/83/2 57/84/2 55/85/2
|
||||
f 30/86/1 59/87/1 60/88/1
|
||||
f 38/40/2 61/89/2 62/90/2
|
||||
f 25/38/3 66/91/3 63/92/3
|
||||
f 33/36/6 64/93/6 65/94/6
|
||||
f 46/95/2 69/96/2 67/97/2
|
||||
f 41/98/1 68/99/1 70/100/1
|
||||
f 32/101/1 76/102/1 77/103/1
|
||||
f 36/34/2 78/104/2 75/105/2
|
||||
f 47/106/4 72/107/4 71/108/4
|
||||
f 49/109/5 74/110/5 73/111/5
|
||||
f 59/112/6 55/85/6 57/84/6
|
||||
f 61/113/6 60/114/6 57/84/6
|
||||
f 62/115/6 61/113/6 58/82/6
|
||||
f 55/85/6 59/112/6 62/115/6
|
||||
f 53/116/5 55/85/5 56/81/5
|
||||
f 37/39/5 60/117/5 61/118/5
|
||||
f 29/41/4 62/119/4 59/120/4
|
||||
f 51/121/4 58/82/4 57/84/4
|
||||
f 63/122/4 67/97/4 69/96/4
|
||||
f 64/123/4 69/96/4 70/100/4
|
||||
f 65/124/4 70/100/4 68/99/4
|
||||
f 68/99/4 67/97/4 63/122/4
|
||||
f 45/125/3 70/100/3 69/96/3
|
||||
f 42/126/6 67/97/6 68/99/6
|
||||
f 34/37/2 65/127/2 66/128/2
|
||||
f 26/129/1 63/130/1 64/131/1
|
||||
f 77/132/3 76/133/3 72/107/3
|
||||
f 78/134/3 77/132/3 73/111/3
|
||||
f 75/135/3 78/134/3 74/110/3
|
||||
f 76/133/3 75/135/3 71/108/3
|
||||
f 50/136/1 71/108/1 74/110/1
|
||||
f 48/137/2 73/111/2 72/107/2
|
||||
f 35/33/4 77/138/4 78/139/4
|
||||
f 31/35/5 75/140/5 76/141/5
|
||||
f 79/142/5 85/72/5 84/79/5
|
||||
f 86/73/5 85/72/5 79/142/5
|
||||
f 81/143/5 83/77/5 86/73/5
|
||||
f 84/79/5 83/77/5 81/143/5
|
||||
f 28/144/1 79/145/1 80/146/1
|
||||
f 27/44/6 82/147/6 79/148/6
|
||||
f 40/149/2 84/79/2 85/72/2
|
||||
f 23/43/2 81/150/2 82/151/2
|
||||
f 88/152/4 92/153/4 94/154/4
|
||||
f 15/12/6 88/20/6 90/155/6
|
||||
f 17/30/6 90/155/6 89/156/6
|
||||
f 18/21/6 89/156/6 87/19/6
|
||||
f 107/157/4 106/158/4 130/159/4
|
||||
f 89/160/5 93/161/5 91/162/5
|
||||
f 119/163/8 118/164/8 106/158/8
|
||||
f 91/162/1 92/153/1 88/165/1
|
||||
f 118/164/6 119/163/6 120/166/6
|
||||
f 105/167/5 108/168/5 96/169/5
|
||||
f 111/170/4 110/171/4 98/172/4
|
||||
f 109/173/5 112/174/5 100/175/5
|
||||
f 115/176/4 114/177/4 102/178/4
|
||||
f 113/179/5 116/180/5 104/181/5
|
||||
f 117/182/9 120/166/9 108/168/9
|
||||
f 122/183/6 123/184/6 124/185/6
|
||||
f 123/184/8 122/183/8 110/171/8
|
||||
f 121/186/9 124/185/9 112/174/9
|
||||
f 126/187/6 127/188/6 128/189/6
|
||||
f 127/188/8 126/187/8 114/177/8
|
||||
f 125/190/9 128/189/9 116/180/9
|
||||
f 90/191/2 94/154/2 93/161/2
|
||||
f 94/154/6 92/153/6 91/162/6
|
||||
f 6/192/1 8/1/1 12/3/1
|
||||
f 1/193/2 3/4/2 5/6/2
|
||||
f 4/13/3 2/7/3 10/9/3
|
||||
f 13/194/2 14/10/2 15/12/2
|
||||
f 9/17/4 4/13/4 14/14/4
|
||||
f 2/7/5 12/15/5 11/8/5
|
||||
f 12/195/6 9/17/6 13/18/6
|
||||
f 15/12/6 16/11/6 88/20/6
|
||||
f 17/30/1 18/21/1 19/23/1
|
||||
f 16/11/4 14/196/4 21/25/4
|
||||
f 21/25/4 20/197/4 18/21/4
|
||||
f 19/23/3 20/22/3 22/27/3
|
||||
f 22/198/7 21/28/7 11/8/7
|
||||
f 22/32/5 13/199/5 15/12/5
|
||||
f 15/12/5 17/30/5 22/32/5
|
||||
f 32/101/3 35/33/3 31/35/3
|
||||
f 26/129/4 33/36/4 25/38/4
|
||||
f 30/86/6 37/39/6 29/41/6
|
||||
f 28/144/5 24/42/5 27/44/5
|
||||
f 6/51/6 54/45/6 8/47/6
|
||||
f 52/200/6 51/48/6 7/50/6
|
||||
f 51/48/6 54/45/6 5/49/6
|
||||
f 12/53/5 2/58/5 40/57/5
|
||||
f 40/57/5 44/52/5 12/53/5
|
||||
f 43/54/5 5/49/5 44/52/5
|
||||
f 5/49/5 43/54/5 1/56/5
|
||||
f 39/55/5 40/57/5 1/56/5
|
||||
f 48/65/3 47/59/3 4/61/3
|
||||
f 50/201/3 49/62/3 1/64/3
|
||||
f 50/201/3 1/64/3 47/59/3
|
||||
f 49/62/3 48/65/3 3/63/3
|
||||
f 42/68/4 4/61/4 9/66/4
|
||||
f 9/66/4 8/47/4 46/67/4
|
||||
f 41/69/4 3/63/4 42/68/4
|
||||
f 3/63/4 41/69/4 7/50/4
|
||||
f 45/70/4 46/67/4 7/50/4
|
||||
f 52/200/6 7/50/6 53/46/6
|
||||
f 43/202/3 44/71/3 86/73/3
|
||||
f 23/43/3 24/42/3 81/75/3
|
||||
f 39/203/1 43/76/1 83/77/1
|
||||
f 40/204/6 39/78/6 84/79/6
|
||||
f 51/205/1 52/80/1 58/82/1
|
||||
f 53/206/2 54/83/2 55/85/2
|
||||
f 37/39/1 30/86/1 60/88/1
|
||||
f 29/41/2 38/40/2 62/90/2
|
||||
f 26/129/3 25/38/3 63/92/3
|
||||
f 34/37/6 33/36/6 65/94/6
|
||||
f 42/207/2 46/95/2 67/97/2
|
||||
f 45/208/1 41/98/1 70/100/1
|
||||
f 35/33/1 32/101/1 77/103/1
|
||||
f 31/35/2 36/34/2 75/105/2
|
||||
f 50/209/4 47/106/4 71/108/4
|
||||
f 48/210/5 49/109/5 73/111/5
|
||||
f 60/114/6 59/112/6 57/84/6
|
||||
f 58/82/6 61/113/6 57/84/6
|
||||
f 56/81/6 62/115/6 58/82/6
|
||||
f 56/81/6 55/85/6 62/115/6
|
||||
f 52/211/5 53/116/5 56/81/5
|
||||
f 38/40/5 37/39/5 61/118/5
|
||||
f 30/86/4 29/41/4 59/120/4
|
||||
f 54/212/4 51/121/4 57/84/4
|
||||
f 64/123/4 63/122/4 69/96/4
|
||||
f 65/124/4 64/123/4 70/100/4
|
||||
f 66/213/4 65/124/4 68/99/4
|
||||
f 66/213/4 68/99/4 63/122/4
|
||||
f 46/214/3 45/125/3 69/96/3
|
||||
f 41/215/6 42/126/6 68/99/6
|
||||
f 25/38/2 34/37/2 66/128/2
|
||||
f 33/36/1 26/129/1 64/131/1
|
||||
f 73/111/3 77/132/3 72/107/3
|
||||
f 74/110/3 78/134/3 73/111/3
|
||||
f 71/108/3 75/135/3 74/110/3
|
||||
f 72/107/3 76/133/3 71/108/3
|
||||
f 49/216/1 50/136/1 74/110/1
|
||||
f 47/217/2 48/137/2 72/107/2
|
||||
f 36/34/4 35/33/4 78/139/4
|
||||
f 32/101/5 31/35/5 76/141/5
|
||||
f 80/218/5 79/142/5 84/79/5
|
||||
f 82/219/5 86/73/5 79/142/5
|
||||
f 82/219/5 81/143/5 86/73/5
|
||||
f 80/218/5 84/79/5 81/143/5
|
||||
f 24/42/1 28/144/1 80/146/1
|
||||
f 28/144/6 27/44/6 79/148/6
|
||||
f 44/220/2 40/149/2 85/72/2
|
||||
f 27/44/2 23/43/2 82/151/2
|
||||
f 90/221/4 88/152/4 94/154/4
|
||||
f 17/30/6 15/12/6 90/155/6
|
||||
f 18/21/6 17/30/6 89/156/6
|
||||
f 16/11/6 18/21/6 87/19/6
|
||||
f 129/222/4 107/157/4 130/159/4
|
||||
f 87/223/5 89/160/5 91/162/5
|
||||
f 107/157/8 119/163/8 106/158/8
|
||||
f 87/224/1 91/162/1 88/165/1
|
||||
f 117/182/6 118/164/6 120/166/6
|
||||
f 95/225/5 105/167/5 96/169/5
|
||||
f 99/226/4 111/170/4 98/172/4
|
||||
f 97/227/5 109/173/5 100/175/5
|
||||
f 103/228/4 115/176/4 102/178/4
|
||||
f 101/229/5 113/179/5 104/181/5
|
||||
f 105/167/9 117/182/9 108/168/9
|
||||
f 121/186/6 122/183/6 124/185/6
|
||||
f 111/170/8 123/184/8 110/171/8
|
||||
f 109/173/9 121/186/9 112/174/9
|
||||
f 125/190/6 126/187/6 128/189/6
|
||||
f 115/176/8 127/188/8 114/177/8
|
||||
f 113/179/9 125/190/9 116/180/9
|
||||
f 89/230/2 90/191/2 93/161/2
|
||||
f 93/161/6 94/154/6 91/162/6
|
||||
125
assets/hbm/models/epress_head.obj
Normal file
@ -0,0 +1,125 @@
|
||||
# Blender v2.76 (sub 0) OBJ File: 'epress_head.blend'
|
||||
# www.blender.org
|
||||
o Cube.001_Cube.002
|
||||
v -0.100000 0.000000 0.375000
|
||||
v -0.100000 0.125000 0.375000
|
||||
v -0.100000 0.000000 -0.375000
|
||||
v -0.100000 0.125000 -0.375000
|
||||
v 0.400000 0.000000 0.375000
|
||||
v 0.400000 0.125000 0.375000
|
||||
v 0.400000 0.000000 -0.375000
|
||||
v 0.400000 0.125000 -0.375000
|
||||
v -0.100000 0.125000 0.000000
|
||||
v 0.400000 0.125000 0.000000
|
||||
v 0.300000 0.125000 -0.075000
|
||||
v 0.300000 0.125000 -0.300000
|
||||
v 0.000000 0.125000 -0.300000
|
||||
v 0.000000 0.125000 -0.075000
|
||||
v 0.300000 0.125000 0.300000
|
||||
v 0.300000 0.125000 0.075000
|
||||
v 0.000000 0.125000 0.075000
|
||||
v 0.000000 0.125000 0.300000
|
||||
v 0.300000 1.000000 -0.300000
|
||||
v 0.300000 1.000000 -0.075000
|
||||
v 0.000000 1.000000 -0.300000
|
||||
v 0.000000 1.000000 -0.075000
|
||||
v 0.300000 1.000000 0.075000
|
||||
v 0.300000 1.000000 0.300000
|
||||
v 0.000000 1.000000 0.075000
|
||||
v 0.000000 1.000000 0.300000
|
||||
vt 0.026199 0.239343
|
||||
vt 0.079485 0.079485
|
||||
vt 0.079485 0.399201
|
||||
vt 0.292629 0.026199
|
||||
vt 0.292629 0.079485
|
||||
vt 0.345915 0.239343
|
||||
vt 0.292629 0.399201
|
||||
vt 0.079485 0.452487
|
||||
vt 0.377886 0.504884
|
||||
vt 0.377887 0.877887
|
||||
vt 0.250000 0.877887
|
||||
vt 0.388544 0.111456
|
||||
vt 0.388544 0.207371
|
||||
vt 0.516430 0.111457
|
||||
vt 0.345915 0.079485
|
||||
vt 0.516430 0.207371
|
||||
vt 0.559059 0.079485
|
||||
vt 0.559059 0.239343
|
||||
vt 0.154085 0.504884
|
||||
vt 0.154085 0.877887
|
||||
vt 0.026199 0.877887
|
||||
vt 0.388544 0.271315
|
||||
vt 0.388544 0.367229
|
||||
vt 0.345915 0.399201
|
||||
vt 0.516430 0.271315
|
||||
vt 0.516430 0.367229
|
||||
vt 0.559059 0.399201
|
||||
vt 0.973801 0.504884
|
||||
vt 0.973801 0.877887
|
||||
vt 0.877887 0.877887
|
||||
vt 0.750000 0.504884
|
||||
vt 0.750000 0.877887
|
||||
vt 0.654085 0.877887
|
||||
vt 0.473801 0.504884
|
||||
vt 0.473801 0.877886
|
||||
vt 0.654085 0.504884
|
||||
vt 0.526199 0.877887
|
||||
vt 0.250000 0.504884
|
||||
vt 0.877887 0.504884
|
||||
vt 0.026199 0.399201
|
||||
vt 0.026199 0.079485
|
||||
vt 0.079485 0.026199
|
||||
vt 0.292629 0.452487
|
||||
vt 0.026199 0.504884
|
||||
vt 0.526199 0.504884
|
||||
vn -1.000000 0.000000 0.000000
|
||||
vn 0.000000 0.000000 -1.000000
|
||||
vn 1.000000 0.000000 0.000000
|
||||
vn 0.000000 0.000000 1.000000
|
||||
vn 0.000000 -1.000000 0.000000
|
||||
vn 0.000000 1.000000 0.000000
|
||||
s off
|
||||
f 9/1/1 3/2/1 1/3/1
|
||||
f 8/4/2 7/5/2 3/2/2
|
||||
f 10/6/3 5/7/3 7/5/3
|
||||
f 2/8/4 1/3/4 5/7/4
|
||||
f 3/2/5 7/5/5 5/7/5
|
||||
f 13/9/2 21/10/2 19/11/2
|
||||
f 12/12/6 11/13/6 10/6/6
|
||||
f 13/14/6 12/12/6 8/15/6
|
||||
f 14/16/6 13/14/6 4/17/6
|
||||
f 11/13/6 14/16/6 9/18/6
|
||||
f 11/19/4 20/20/4 22/21/4
|
||||
f 16/22/6 15/23/6 6/24/6
|
||||
f 17/25/6 16/22/6 10/6/6
|
||||
f 18/26/6 17/25/6 9/18/6
|
||||
f 15/23/6 18/26/6 2/27/6
|
||||
f 18/28/1 26/29/1 25/30/1
|
||||
f 16/31/3 23/32/3 24/33/3
|
||||
f 14/34/1 22/35/1 21/10/1
|
||||
f 15/36/4 24/33/4 26/37/4
|
||||
f 12/38/3 19/11/3 20/20/3
|
||||
f 17/39/2 25/30/2 23/32/2
|
||||
f 1/3/1 2/40/1 9/1/1
|
||||
f 9/1/1 4/41/1 3/2/1
|
||||
f 4/42/2 8/4/2 3/2/2
|
||||
f 7/5/3 8/15/3 10/6/3
|
||||
f 10/6/3 6/24/3 5/7/3
|
||||
f 6/43/4 2/8/4 5/7/4
|
||||
f 1/3/5 3/2/5 5/7/5
|
||||
f 12/38/2 13/9/2 19/11/2
|
||||
f 8/15/6 12/12/6 10/6/6
|
||||
f 4/17/6 13/14/6 8/15/6
|
||||
f 9/18/6 14/16/6 4/17/6
|
||||
f 10/6/6 11/13/6 9/18/6
|
||||
f 14/44/4 11/19/4 22/21/4
|
||||
f 10/6/6 16/22/6 6/24/6
|
||||
f 9/18/6 17/25/6 10/6/6
|
||||
f 2/27/6 18/26/6 9/18/6
|
||||
f 6/24/6 15/23/6 2/27/6
|
||||
f 17/39/1 18/28/1 25/30/1
|
||||
f 15/36/3 16/31/3 24/33/3
|
||||
f 13/9/1 14/34/1 21/10/1
|
||||
f 18/45/4 15/36/4 26/37/4
|
||||
f 11/19/3 12/38/3 20/20/3
|
||||
f 16/31/2 17/39/2 23/32/2
|
||||
BIN
assets/hbm/sounds/jeff.ogg
Normal file
|
Before Width: | Height: | Size: 417 B After Width: | Height: | Size: 377 B |
BIN
assets/hbm/textures/blocks/machine_coal_front_off_alt.png
Normal file
|
After Width: | Height: | Size: 481 B |
|
Before Width: | Height: | Size: 418 B After Width: | Height: | Size: 467 B |
BIN
assets/hbm/textures/blocks/machine_coal_front_on_alt.png
Normal file
|
After Width: | Height: | Size: 526 B |
|
Before Width: | Height: | Size: 495 B After Width: | Height: | Size: 391 B |
BIN
assets/hbm/textures/blocks/machine_coal_side_alt.png
Normal file
|
After Width: | Height: | Size: 578 B |
BIN
assets/hbm/textures/blocks/machine_rtg_top.png
Normal file
|
After Width: | Height: | Size: 562 B |
BIN
assets/hbm/textures/blocks/rf_cable.png
Normal file
|
After Width: | Height: | Size: 252 B |
BIN
assets/hbm/textures/blocks/rf_cable_icon.png
Normal file
|
After Width: | Height: | Size: 199 B |
BIN
assets/hbm/textures/items/assembly_calamity.png
Normal file
|
After Width: | Height: | Size: 275 B |
BIN
assets/hbm/textures/items/assembly_gold.png
Normal file
|
After Width: | Height: | Size: 304 B |
BIN
assets/hbm/textures/items/assembly_iron.png
Normal file
|
After Width: | Height: | Size: 302 B |
BIN
assets/hbm/textures/items/assembly_lead.png
Normal file
|
After Width: | Height: | Size: 260 B |
BIN
assets/hbm/textures/items/assembly_nightmare.png
Normal file
|
After Width: | Height: | Size: 285 B |
BIN
assets/hbm/textures/items/assembly_nopip.png
Normal file
|
After Width: | Height: | Size: 282 B |
BIN
assets/hbm/textures/items/assembly_pip.png
Normal file
|
After Width: | Height: | Size: 301 B |
BIN
assets/hbm/textures/items/assembly_schrabidium.png
Normal file
|
After Width: | Height: | Size: 309 B |
BIN
assets/hbm/textures/items/assembly_smg.png
Normal file
|
After Width: | Height: | Size: 269 B |
BIN
assets/hbm/textures/items/assembly_steel.png
Normal file
|
After Width: | Height: | Size: 318 B |
BIN
assets/hbm/textures/items/assembly_uzi.png
Normal file
|
After Width: | Height: | Size: 283 B |
BIN
assets/hbm/textures/items/casing_357.png
Normal file
|
After Width: | Height: | Size: 204 B |
BIN
assets/hbm/textures/items/casing_44.png
Normal file
|
After Width: | Height: | Size: 193 B |
BIN
assets/hbm/textures/items/casing_50.png
Normal file
|
After Width: | Height: | Size: 220 B |
BIN
assets/hbm/textures/items/casing_9.png
Normal file
|
After Width: | Height: | Size: 184 B |
BIN
assets/hbm/textures/items/casing_buckshot.png
Normal file
|
After Width: | Height: | Size: 202 B |
|
Before Width: | Height: | Size: 273 B After Width: | Height: | Size: 247 B |
BIN
assets/hbm/textures/items/gun_revolver_ammo_alt.png
Normal file
|
After Width: | Height: | Size: 273 B |
|
Before Width: | Height: | Size: 238 B After Width: | Height: | Size: 189 B |
BIN
assets/hbm/textures/items/gun_revolver_cursed_ammo_alt.png
Normal file
|
After Width: | Height: | Size: 238 B |
|
Before Width: | Height: | Size: 243 B After Width: | Height: | Size: 236 B |
BIN
assets/hbm/textures/items/gun_revolver_gold_ammo_alt.png
Normal file
|
After Width: | Height: | Size: 243 B |
|
Before Width: | Height: | Size: 241 B After Width: | Height: | Size: 246 B |
BIN
assets/hbm/textures/items/gun_revolver_iron_ammo_alt.png
Normal file
|
After Width: | Height: | Size: 241 B |
|
Before Width: | Height: | Size: 283 B After Width: | Height: | Size: 269 B |
BIN
assets/hbm/textures/items/gun_revolver_lead_ammo_alt.png
Normal file
|
After Width: | Height: | Size: 283 B |
|
Before Width: | Height: | Size: 201 B After Width: | Height: | Size: 244 B |
BIN
assets/hbm/textures/items/gun_revolver_nightmare_ammo_alt.png
Normal file
|
After Width: | Height: | Size: 201 B |
|
Before Width: | Height: | Size: 212 B After Width: | Height: | Size: 221 B |
BIN
assets/hbm/textures/items/gun_revolver_nopip_ammo_alt.png
Normal file
|
After Width: | Height: | Size: 212 B |
|
Before Width: | Height: | Size: 231 B After Width: | Height: | Size: 242 B |
BIN
assets/hbm/textures/items/gun_revolver_pip_ammo_alt.png
Normal file
|
After Width: | Height: | Size: 231 B |
|
Before Width: | Height: | Size: 248 B After Width: | Height: | Size: 239 B |
BIN
assets/hbm/textures/items/gun_revolver_schrabidium_ammo_alt.png
Normal file
|
After Width: | Height: | Size: 248 B |
BIN
assets/hbm/textures/items/primer_357.png
Normal file
|
After Width: | Height: | Size: 186 B |
BIN
assets/hbm/textures/items/primer_44.png
Normal file
|
After Width: | Height: | Size: 187 B |
BIN
assets/hbm/textures/items/primer_50.png
Normal file
|
After Width: | Height: | Size: 217 B |
BIN
assets/hbm/textures/items/primer_9.png
Normal file
|
After Width: | Height: | Size: 186 B |
BIN
assets/hbm/textures/items/primer_buckshot.png
Normal file
|
After Width: | Height: | Size: 183 B |
BIN
assets/hbm/textures/items/stamp_357.png
Normal file
|
After Width: | Height: | Size: 268 B |
BIN
assets/hbm/textures/items/stamp_44.png
Normal file
|
After Width: | Height: | Size: 261 B |
BIN
assets/hbm/textures/items/stamp_50.png
Normal file
|
After Width: | Height: | Size: 254 B |
BIN
assets/hbm/textures/items/stamp_9.png
Normal file
|
After Width: | Height: | Size: 264 B |
|
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 25 KiB |
|
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 6.0 KiB |
BIN
assets/hbm/textures/models/press_body_alt.png
Normal file
|
After Width: | Height: | Size: 3.0 KiB |
@ -333,6 +333,7 @@ public class ModBlocks {
|
||||
public static Block red_wire_coated;
|
||||
public static Block red_cable;
|
||||
public static Block red_pylon;
|
||||
public static Block rf_cable;
|
||||
public static Block oil_duct_solid;
|
||||
public static Block oil_duct;
|
||||
public static Block gas_duct_solid;
|
||||
@ -850,6 +851,7 @@ public class ModBlocks {
|
||||
|
||||
red_wire_coated = new WireCoated(Material.iron).setBlockName("red_wire_coated").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.machineTab).setBlockTextureName(RefStrings.MODID + ":red_wire_coated");
|
||||
red_cable = new BlockCable(Material.iron).setBlockName("red_cable").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.machineTab).setBlockTextureName(RefStrings.MODID + ":red_cable_icon");
|
||||
rf_cable = new BlockRFCable(Material.iron).setBlockName("rf_cable").setHardness(5.0F).setResistance(10.0F).setCreativeTab(null).setBlockTextureName(RefStrings.MODID + ":rf_cable_icon");
|
||||
red_pylon = new PylonRedWire(Material.iron).setBlockName("red_pylon").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.machineTab).setBlockTextureName(RefStrings.MODID + ":red_pylon");
|
||||
oil_duct_solid = new OilDuctSolid(Material.iron).setBlockName("oil_duct_solid").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.machineTab).setBlockTextureName(RefStrings.MODID + ":oil_duct_solid_alt");
|
||||
oil_duct = new BlockOilDuct(Material.iron).setBlockName("oil_duct").setHardness(5.0F).setResistance(10.0F).setCreativeTab(MainRegistry.machineTab).setBlockTextureName(RefStrings.MODID + ":oil_duct_icon_alt");
|
||||
@ -1342,6 +1344,7 @@ public class ModBlocks {
|
||||
GameRegistry.registerBlock(red_cable, red_cable.getUnlocalizedName());
|
||||
GameRegistry.registerBlock(red_wire_coated, red_wire_coated.getUnlocalizedName());
|
||||
GameRegistry.registerBlock(red_pylon, red_pylon.getUnlocalizedName());
|
||||
GameRegistry.registerBlock(rf_cable, rf_cable.getUnlocalizedName());
|
||||
GameRegistry.registerBlock(oil_duct, oil_duct.getUnlocalizedName());
|
||||
GameRegistry.registerBlock(oil_duct_solid, oil_duct_solid.getUnlocalizedName());
|
||||
GameRegistry.registerBlock(gas_duct, gas_duct.getUnlocalizedName());
|
||||
|
||||
@ -19,6 +19,7 @@ import net.minecraft.block.material.Material;
|
||||
import net.minecraft.entity.EntityLivingBase;
|
||||
import net.minecraft.entity.item.EntityItem;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.inventory.ISidedInventory;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
@ -45,7 +46,7 @@ public class NukeN45 extends BlockContainer implements IBomb {
|
||||
{
|
||||
if (!keepInventory)
|
||||
{
|
||||
TileEntityNukeN2 tileentityfurnace = (TileEntityNukeN2)p_149749_1_.getTileEntity(p_149749_2_, p_149749_3_, p_149749_4_);
|
||||
ISidedInventory tileentityfurnace = (ISidedInventory)p_149749_1_.getTileEntity(p_149749_2_, p_149749_3_, p_149749_4_);
|
||||
|
||||
if (tileentityfurnace != null)
|
||||
{
|
||||
@ -133,6 +134,15 @@ public class NukeN45 extends BlockContainer implements IBomb {
|
||||
|
||||
@Override
|
||||
public void explode(World world, int x, int y, int z) {
|
||||
|
||||
TileEntityNukeN45 entity = (TileEntityNukeN45) world.getTileEntity(x, y, z);
|
||||
|
||||
if(entity.getType() == 100) {
|
||||
entity.primed = true;
|
||||
} else if(!entity.primed && entity.getType() > 0) {
|
||||
int t = entity.getType();
|
||||
entity.clearSlots();
|
||||
entity.explode(world, x, y, z, t);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
81
com/hbm/blocks/machine/BlockRFCable.java
Normal file
@ -0,0 +1,81 @@
|
||||
package com.hbm.blocks.machine;
|
||||
|
||||
import com.hbm.tileentity.conductor.TileEntityRFDuct;
|
||||
|
||||
import net.minecraft.block.BlockContainer;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.util.AxisAlignedBB;
|
||||
import net.minecraft.world.IBlockAccess;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
public class BlockRFCable extends BlockContainer {
|
||||
|
||||
public BlockRFCable(Material p_i45386_1_) {
|
||||
super(p_i45386_1_);
|
||||
float p = 1F/16F;
|
||||
this.setBlockBounds(11 * p / 2, 11 * p / 2, 11 * p / 2, 1 - 11 * p / 2, 1 - 11 * p / 2, 1 - 11 * p / 2);
|
||||
this.useNeighborBrightness = true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public AxisAlignedBB getCollisionBoundingBoxFromPool(World world, int x, int y, int z) {
|
||||
if(world.getTileEntity(x, y, z) instanceof TileEntityRFDuct) {
|
||||
TileEntityRFDuct cable = (TileEntityRFDuct)world.getTileEntity(x, y, z);
|
||||
|
||||
if(cable != null)
|
||||
{
|
||||
float p = 1F/16F;
|
||||
float minX = 11 * p / 2 - (cable.connections[5] != null ? (11 * p / 2) : 0);
|
||||
float minY = 11 * p / 2 - (cable.connections[1] != null ? (11 * p / 2) : 0);
|
||||
float minZ = 11 * p / 2 - (cable.connections[2] != null ? (11 * p / 2) : 0);
|
||||
float maxX = 1 - 11 * p / 2 + (cable.connections[3] != null ? (11 * p / 2) : 0);
|
||||
float maxY = 1 - 11 * p / 2 + (cable.connections[0] != null ? (11 * p / 2) : 0);
|
||||
float maxZ = 1 - 11 * p / 2 + (cable.connections[4] != null ? (11 * p / 2) : 0);
|
||||
|
||||
this.setBlockBounds(minX, minY, minZ, maxX, maxY, maxZ);
|
||||
}
|
||||
}
|
||||
return AxisAlignedBB.getBoundingBox(x + this.minX, y + this.minY, z + this.minZ, x + this.maxX, y + this.maxY, z + this.maxZ);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setBlockBoundsBasedOnState(IBlockAccess world, int x, int y, int z) {
|
||||
if(world.getTileEntity(x, y, z) instanceof TileEntityRFDuct) {
|
||||
TileEntityRFDuct cable = (TileEntityRFDuct)world.getTileEntity(x, y, z);
|
||||
|
||||
if(cable != null)
|
||||
{
|
||||
float p = 1F/16F;
|
||||
float minX = 11 * p / 2 - (cable.connections[5] != null ? (11 * p / 2) : 0);
|
||||
float minY = 11 * p / 2 - (cable.connections[1] != null ? (11 * p / 2) : 0);
|
||||
float minZ = 11 * p / 2 - (cable.connections[2] != null ? (11 * p / 2) : 0);
|
||||
float maxX = 1 - 11 * p / 2 + (cable.connections[3] != null ? (11 * p / 2) : 0);
|
||||
float maxY = 1 - 11 * p / 2 + (cable.connections[0] != null ? (11 * p / 2) : 0);
|
||||
float maxZ = 1 - 11 * p / 2 + (cable.connections[4] != null ? (11 * p / 2) : 0);
|
||||
|
||||
this.setBlockBounds(minX, minY, minZ, maxX, maxY, maxZ);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public TileEntity createNewTileEntity(World p_149915_1_, int p_149915_2_) {
|
||||
return new TileEntityRFDuct(10000);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getRenderType(){
|
||||
return -1;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isOpaqueCube() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean renderAsNormalBlock() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
@ -61,10 +61,10 @@ public class MachineRTG extends BlockContainer {
|
||||
else
|
||||
s = "null";
|
||||
|
||||
this.iconTop = iconRegister.registerIcon(RefStrings.MODID + (":machine_rtg_top_" + s));
|
||||
this.iconTop = iconRegister.registerIcon(RefStrings.MODID + (":machine_rtg_top"));
|
||||
//this.iconFront = iconRegister.registerIcon(RefStrings.MODID + (":reactor_front"));
|
||||
this.iconBottom = iconRegister.registerIcon(RefStrings.MODID + (":red_wire_coated"));
|
||||
this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":machine_rtg_side_" + s);
|
||||
this.blockIcon = iconRegister.registerIcon(RefStrings.MODID + ":machine_rtg_furnace_base_alt");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -4,82 +4,8 @@ import com.hbm.blocks.ModBlocks;
|
||||
import com.hbm.inventory.container.*;
|
||||
import com.hbm.inventory.gui.*;
|
||||
import com.hbm.items.ModItems;
|
||||
import com.hbm.tileentity.*;
|
||||
import com.hbm.tileentity.bomb.TileEntityBombMulti;
|
||||
import com.hbm.tileentity.bomb.TileEntityCelPrime;
|
||||
import com.hbm.tileentity.bomb.TileEntityLaunchPad;
|
||||
import com.hbm.tileentity.bomb.TileEntityNukeBoy;
|
||||
import com.hbm.tileentity.bomb.TileEntityNukeCustom;
|
||||
import com.hbm.tileentity.bomb.TileEntityNukeFleija;
|
||||
import com.hbm.tileentity.bomb.TileEntityNukeGadget;
|
||||
import com.hbm.tileentity.bomb.TileEntityNukeMan;
|
||||
import com.hbm.tileentity.bomb.TileEntityNukeMike;
|
||||
import com.hbm.tileentity.bomb.TileEntityNukeN2;
|
||||
import com.hbm.tileentity.bomb.TileEntityNukePrototype;
|
||||
import com.hbm.tileentity.bomb.TileEntityNukeSolinium;
|
||||
import com.hbm.tileentity.bomb.TileEntityNukeTsar;
|
||||
import com.hbm.tileentity.bomb.TileEntityTestNuke;
|
||||
import com.hbm.tileentity.machine.TileEntityAMSBase;
|
||||
import com.hbm.tileentity.machine.TileEntityAMSEmitter;
|
||||
import com.hbm.tileentity.machine.TileEntityAMSLimiter;
|
||||
import com.hbm.tileentity.machine.TileEntityConverterHeRf;
|
||||
import com.hbm.tileentity.machine.TileEntityConverterRfHe;
|
||||
import com.hbm.tileentity.machine.TileEntityCoreAdvanced;
|
||||
import com.hbm.tileentity.machine.TileEntityCoreTitanium;
|
||||
import com.hbm.tileentity.machine.TileEntityCrateIron;
|
||||
import com.hbm.tileentity.machine.TileEntityCrateSteel;
|
||||
import com.hbm.tileentity.machine.TileEntityDiFurnace;
|
||||
import com.hbm.tileentity.machine.TileEntityFWatzCore;
|
||||
import com.hbm.tileentity.machine.TileEntityForceField;
|
||||
import com.hbm.tileentity.machine.TileEntityFusionMultiblock;
|
||||
import com.hbm.tileentity.machine.TileEntityMachineAssembler;
|
||||
import com.hbm.tileentity.machine.TileEntityMachineBattery;
|
||||
import com.hbm.tileentity.machine.TileEntityMachineBoiler;
|
||||
import com.hbm.tileentity.machine.TileEntityMachineBoilerElectric;
|
||||
import com.hbm.tileentity.machine.TileEntityMachineCMBFactory;
|
||||
import com.hbm.tileentity.machine.TileEntityMachineCentrifuge;
|
||||
import com.hbm.tileentity.machine.TileEntityMachineChemplant;
|
||||
import com.hbm.tileentity.machine.TileEntityMachineCoal;
|
||||
import com.hbm.tileentity.machine.TileEntityMachineCyclotron;
|
||||
import com.hbm.tileentity.machine.TileEntityMachineDeuterium;
|
||||
import com.hbm.tileentity.machine.TileEntityMachineDiesel;
|
||||
import com.hbm.tileentity.machine.TileEntityMachineElectricFurnace;
|
||||
import com.hbm.tileentity.machine.TileEntityMachineFluidTank;
|
||||
import com.hbm.tileentity.machine.TileEntityMachineGasCent;
|
||||
import com.hbm.tileentity.machine.TileEntityMachineGasFlare;
|
||||
import com.hbm.tileentity.machine.TileEntityMachineGenerator;
|
||||
import com.hbm.tileentity.machine.TileEntityMachineIGenerator;
|
||||
import com.hbm.tileentity.machine.TileEntityMachineInserter;
|
||||
import com.hbm.tileentity.machine.TileEntityMachineKeyForge;
|
||||
import com.hbm.tileentity.machine.TileEntityMachineMiningDrill;
|
||||
import com.hbm.tileentity.machine.TileEntityMachineOilWell;
|
||||
import com.hbm.tileentity.machine.TileEntityMachinePress;
|
||||
import com.hbm.tileentity.machine.TileEntityMachinePuF6Tank;
|
||||
import com.hbm.tileentity.machine.TileEntityMachinePumpjack;
|
||||
import com.hbm.tileentity.machine.TileEntityMachineRTG;
|
||||
import com.hbm.tileentity.machine.TileEntityMachineRadGen;
|
||||
import com.hbm.tileentity.machine.TileEntityMachineRadar;
|
||||
import com.hbm.tileentity.machine.TileEntityMachineReactor;
|
||||
import com.hbm.tileentity.machine.TileEntityMachineReactorSmall;
|
||||
import com.hbm.tileentity.machine.TileEntityMachineRefinery;
|
||||
import com.hbm.tileentity.machine.TileEntityMachineSchrabidiumTransmutator;
|
||||
import com.hbm.tileentity.machine.TileEntityMachineSeleniumEngine;
|
||||
import com.hbm.tileentity.machine.TileEntityMachineShredder;
|
||||
import com.hbm.tileentity.machine.TileEntityMachineSiren;
|
||||
import com.hbm.tileentity.machine.TileEntityMachineTeleLinker;
|
||||
import com.hbm.tileentity.machine.TileEntityMachineTeleporter;
|
||||
import com.hbm.tileentity.machine.TileEntityMachineTurbine;
|
||||
import com.hbm.tileentity.machine.TileEntityMachineTurbofan;
|
||||
import com.hbm.tileentity.machine.TileEntityMachineUF6Tank;
|
||||
import com.hbm.tileentity.machine.TileEntityNukeFurnace;
|
||||
import com.hbm.tileentity.machine.TileEntityRadioRec;
|
||||
import com.hbm.tileentity.machine.TileEntityRadiobox;
|
||||
import com.hbm.tileentity.machine.TileEntityReactorMultiblock;
|
||||
import com.hbm.tileentity.machine.TileEntityReiXMainframe;
|
||||
import com.hbm.tileentity.machine.TileEntityRtgFurnace;
|
||||
import com.hbm.tileentity.machine.TileEntitySafe;
|
||||
import com.hbm.tileentity.machine.TileEntityMachineSatLinker;
|
||||
import com.hbm.tileentity.machine.TileEntityWatzCore;
|
||||
import com.hbm.tileentity.bomb.*;
|
||||
import com.hbm.tileentity.machine.*;
|
||||
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
@ -758,6 +684,15 @@ public class GUIHandler implements IGuiHandler {
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
case ModBlocks.guiID_nuke_n45:
|
||||
{
|
||||
if(entity instanceof TileEntityNukeN45)
|
||||
{
|
||||
return new ContainerNukeN45(player.inventory, (TileEntityNukeN45) entity);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
@ -1434,6 +1369,15 @@ public class GUIHandler implements IGuiHandler {
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
case ModBlocks.guiID_nuke_n45:
|
||||
{
|
||||
if(entity instanceof TileEntityNukeN45)
|
||||
{
|
||||
return new GUINukeN45(player.inventory, (TileEntityNukeN45) entity);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
//CLIENTONLY GUIS
|
||||
|
||||
@ -627,6 +627,45 @@ public class MachineRecipes {
|
||||
return new ItemStack(ModItems.circuit_aluminium);
|
||||
}
|
||||
|
||||
if(stamp.getItem() == ModItems.stamp_357) {
|
||||
|
||||
if(input.getItem() == ModItems.assembly_iron)
|
||||
return new ItemStack(ModItems.gun_revolver_iron_ammo);
|
||||
if(input.getItem() == ModItems.assembly_steel)
|
||||
return new ItemStack(ModItems.gun_revolver_ammo);
|
||||
if(input.getItem() == ModItems.assembly_lead)
|
||||
return new ItemStack(ModItems.gun_revolver_lead_ammo);
|
||||
if(input.getItem() == ModItems.assembly_gold)
|
||||
return new ItemStack(ModItems.gun_revolver_gold_ammo);
|
||||
if(input.getItem() == ModItems.assembly_schrabidium)
|
||||
return new ItemStack(ModItems.gun_revolver_schrabidium_ammo);
|
||||
|
||||
if(mODE(input, "ingotSteel"))
|
||||
return new ItemStack(ModItems.gun_revolver_cursed_ammo);
|
||||
}
|
||||
|
||||
if(stamp.getItem() == ModItems.stamp_44) {
|
||||
|
||||
if(input.getItem() == ModItems.assembly_pip)
|
||||
return new ItemStack(ModItems.gun_revolver_pip_ammo);
|
||||
if(input.getItem() == ModItems.assembly_nopip)
|
||||
return new ItemStack(ModItems.gun_revolver_nopip_ammo);
|
||||
}
|
||||
|
||||
if(stamp.getItem() == ModItems.stamp_9) {
|
||||
|
||||
if(input.getItem() == ModItems.assembly_smg)
|
||||
return new ItemStack(ModItems.gun_mp40_ammo);
|
||||
if(input.getItem() == ModItems.assembly_uzi)
|
||||
return new ItemStack(ModItems.gun_uzi_ammo);
|
||||
}
|
||||
|
||||
if(stamp.getItem() == ModItems.stamp_50) {
|
||||
|
||||
if(input.getItem() == ModItems.assembly_calamity)
|
||||
return new ItemStack(ModItems.gun_calamity_ammo);
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
@ -646,6 +685,15 @@ public class MachineRecipes {
|
||||
for(Item i : stamps_circuit)
|
||||
i_stamps_circuit.add(new ItemStack(i));
|
||||
|
||||
List<ItemStack> i_stamps_357 = new ArrayList<ItemStack>();
|
||||
i_stamps_357.add(new ItemStack(ModItems.stamp_357));
|
||||
List<ItemStack> i_stamps_44 = new ArrayList<ItemStack>();
|
||||
i_stamps_44.add(new ItemStack(ModItems.stamp_44));
|
||||
List<ItemStack> i_stamps_9 = new ArrayList<ItemStack>();
|
||||
i_stamps_9.add(new ItemStack(ModItems.stamp_9));
|
||||
List<ItemStack> i_stamps_50 = new ArrayList<ItemStack>();
|
||||
i_stamps_50.add(new ItemStack(ModItems.stamp_50));
|
||||
|
||||
recipes.put(new Object[] { i_stamps_flat, new ItemStack(ModItems.powder_coal) }, getPressResultNN(stamps_flat.get(0), ModItems.powder_coal));
|
||||
recipes.put(new Object[] { i_stamps_flat, new ItemStack(ModItems.powder_quartz) }, getPressResultNN(stamps_flat.get(0), ModItems.powder_quartz));
|
||||
recipes.put(new Object[] { i_stamps_flat, new ItemStack(ModItems.powder_lapis) }, getPressResultNN(stamps_flat.get(0), ModItems.powder_lapis));
|
||||
@ -676,6 +724,21 @@ public class MachineRecipes {
|
||||
recipes.put(new Object[] { i_stamps_wire, new ItemStack(ModItems.ingot_magnetized_tungsten) }, getPressResultNN(stamps_wire.get(0), ModItems.ingot_magnetized_tungsten));
|
||||
|
||||
recipes.put(new Object[] { i_stamps_circuit, new ItemStack(ModItems.circuit_raw) }, getPressResultNN(stamps_circuit.get(0), ModItems.circuit_raw));
|
||||
|
||||
recipes.put(new Object[] { i_stamps_357, new ItemStack(ModItems.assembly_iron) }, getPressResultNN(i_stamps_357.get(0).getItem(), ModItems.assembly_iron));
|
||||
recipes.put(new Object[] { i_stamps_357, new ItemStack(ModItems.assembly_steel) }, getPressResultNN(i_stamps_357.get(0).getItem(), ModItems.assembly_steel));
|
||||
recipes.put(new Object[] { i_stamps_357, new ItemStack(ModItems.assembly_lead) }, getPressResultNN(i_stamps_357.get(0).getItem(), ModItems.assembly_lead));
|
||||
recipes.put(new Object[] { i_stamps_357, new ItemStack(ModItems.assembly_gold) }, getPressResultNN(i_stamps_357.get(0).getItem(), ModItems.assembly_gold));
|
||||
recipes.put(new Object[] { i_stamps_357, new ItemStack(ModItems.assembly_schrabidium) }, getPressResultNN(i_stamps_357.get(0).getItem(), ModItems.assembly_schrabidium));
|
||||
recipes.put(new Object[] { i_stamps_357, new ItemStack(ModItems.ingot_steel) }, getPressResultNN(i_stamps_357.get(0).getItem(), ModItems.ingot_steel));
|
||||
|
||||
recipes.put(new Object[] { i_stamps_44, new ItemStack(ModItems.assembly_nopip) }, getPressResultNN(i_stamps_44.get(0).getItem(), ModItems.assembly_nopip));
|
||||
recipes.put(new Object[] { i_stamps_44, new ItemStack(ModItems.assembly_pip) }, getPressResultNN(i_stamps_44.get(0).getItem(), ModItems.assembly_pip));
|
||||
|
||||
recipes.put(new Object[] { i_stamps_9, new ItemStack(ModItems.assembly_smg) }, getPressResultNN(i_stamps_9.get(0).getItem(), ModItems.assembly_smg));
|
||||
recipes.put(new Object[] { i_stamps_9, new ItemStack(ModItems.assembly_uzi) }, getPressResultNN(i_stamps_9.get(0).getItem(), ModItems.assembly_uzi));
|
||||
|
||||
recipes.put(new Object[] { i_stamps_50, new ItemStack(ModItems.assembly_calamity) }, getPressResultNN(i_stamps_50.get(0).getItem(), ModItems.assembly_calamity));
|
||||
|
||||
return recipes;
|
||||
}
|
||||
|
||||
84
com/hbm/inventory/container/ContainerNukeN45.java
Normal file
@ -0,0 +1,84 @@
|
||||
package com.hbm.inventory.container;
|
||||
|
||||
import com.hbm.tileentity.bomb.TileEntityNukeN45;
|
||||
import com.hbm.tileentity.machine.TileEntityForceField;
|
||||
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.entity.player.InventoryPlayer;
|
||||
import net.minecraft.inventory.Container;
|
||||
import net.minecraft.inventory.ICrafting;
|
||||
import net.minecraft.inventory.Slot;
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
public class ContainerNukeN45 extends Container {
|
||||
|
||||
private TileEntityNukeN45 diFurnace;
|
||||
|
||||
public ContainerNukeN45(InventoryPlayer invPlayer, TileEntityNukeN45 tedf) {
|
||||
|
||||
diFurnace = tedf;
|
||||
|
||||
//Payload
|
||||
this.addSlotToContainer(new Slot(tedf, 0, 44, 35));
|
||||
//Range up
|
||||
this.addSlotToContainer(new Slot(tedf, 1, 116, 35));
|
||||
|
||||
for(int i = 0; i < 3; i++)
|
||||
{
|
||||
for(int j = 0; j < 9; j++)
|
||||
{
|
||||
this.addSlotToContainer(new Slot(invPlayer, j + i * 9 + 9, 8 + j * 18, 84 + i * 18));
|
||||
}
|
||||
}
|
||||
|
||||
for(int i = 0; i < 9; i++)
|
||||
{
|
||||
this.addSlotToContainer(new Slot(invPlayer, i, 8 + i * 18, 142));
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addCraftingToCrafters(ICrafting crafting) {
|
||||
super.addCraftingToCrafters(crafting);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ItemStack transferStackInSlot(EntityPlayer p_82846_1_, int par2)
|
||||
{
|
||||
ItemStack var3 = null;
|
||||
Slot var4 = (Slot) this.inventorySlots.get(par2);
|
||||
|
||||
if (var4 != null && var4.getHasStack())
|
||||
{
|
||||
ItemStack var5 = var4.getStack();
|
||||
var3 = var5.copy();
|
||||
|
||||
if (par2 <= 1) {
|
||||
if (!this.mergeItemStack(var5, 2, this.inventorySlots.size(), true))
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
else if (!this.mergeItemStack(var5, 0, 2, false))
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
if (var5.stackSize == 0)
|
||||
{
|
||||
var4.putStack((ItemStack) null);
|
||||
}
|
||||
else
|
||||
{
|
||||
var4.onSlotChanged();
|
||||
}
|
||||
}
|
||||
|
||||
return var3;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean canInteractWith(EntityPlayer player) {
|
||||
return diFurnace.isUseableByPlayer(player);
|
||||
}
|
||||
}
|
||||
79
com/hbm/inventory/gui/GUINukeN45.java
Normal file
@ -0,0 +1,79 @@
|
||||
package com.hbm.inventory.gui;
|
||||
|
||||
import org.lwjgl.opengl.GL11;
|
||||
|
||||
import com.hbm.inventory.container.ContainerForceField;
|
||||
import com.hbm.inventory.container.ContainerNukeN45;
|
||||
import com.hbm.lib.RefStrings;
|
||||
import com.hbm.packet.AuxButtonPacket;
|
||||
import com.hbm.packet.PacketDispatcher;
|
||||
import com.hbm.tileentity.bomb.TileEntityNukeN45;
|
||||
import com.hbm.tileentity.machine.TileEntityForceField;
|
||||
|
||||
import net.minecraft.client.Minecraft;
|
||||
import net.minecraft.client.audio.PositionedSoundRecord;
|
||||
import net.minecraft.client.resources.I18n;
|
||||
import net.minecraft.entity.player.InventoryPlayer;
|
||||
import net.minecraft.util.ResourceLocation;
|
||||
|
||||
public class GUINukeN45 extends GuiInfoContainer {
|
||||
|
||||
public static ResourceLocation texture = new ResourceLocation(RefStrings.MODID + ":textures/gui/gui_n45.png");
|
||||
private TileEntityNukeN45 diFurnace;
|
||||
|
||||
public GUINukeN45(InventoryPlayer invPlayer, TileEntityNukeN45 tedf) {
|
||||
super(new ContainerNukeN45(invPlayer, tedf));
|
||||
diFurnace = tedf;
|
||||
|
||||
this.xSize = 176;
|
||||
this.ySize = 168;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void drawScreen(int mouseX, int mouseY, float f) {
|
||||
super.drawScreen(mouseX, mouseY, f);
|
||||
|
||||
String[] text = new String[] { "The first slot holds the payload.",
|
||||
"Acceptable payloads:",
|
||||
" -Det Cord",
|
||||
" -TNT",
|
||||
" -Explosive Charge",
|
||||
" -Nuclear Charge",
|
||||
"Using detonator while in mine mode will",
|
||||
"arm the mine, set to explode when",
|
||||
"it detects a large entity nearby."};
|
||||
this.drawCustomInfoStat(mouseX, mouseY, guiLeft - 16, guiTop + 36, 16, 16, guiLeft - 8, guiTop + 36 + 16, text);
|
||||
|
||||
String[] text1 = new String[] { "The second slot is for green machine",
|
||||
"upgrades. Entity detection range increases",
|
||||
"by 5 blocks for every level.",
|
||||
"When left empty, the mine can not be armed",
|
||||
"an will behave like a regular bomb." };
|
||||
this.drawCustomInfoStat(mouseX, mouseY, guiLeft - 16, guiTop + 36 + 16, 16, 16, guiLeft - 8, guiTop + 36 + 16, text1);
|
||||
|
||||
if(diFurnace.primed)
|
||||
this.drawCustomInfoStat(mouseX, mouseY, guiLeft + 121, guiTop + 22, 6, 8, mouseX, mouseY, new String[]{ "Mine armed!" } );
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void drawGuiContainerForegroundLayer(int i, int j) {
|
||||
String name = this.diFurnace.hasCustomInventoryName() ? this.diFurnace.getInventoryName() : I18n.format(this.diFurnace.getInventoryName());
|
||||
|
||||
this.fontRendererObj.drawString(name, this.xSize / 2 - this.fontRendererObj.getStringWidth(name) / 2, 6, 4210752);
|
||||
this.fontRendererObj.drawString(I18n.format("container.inventory"), 8, this.ySize - 96 + 2, 4210752);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) {
|
||||
GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
|
||||
Minecraft.getMinecraft().getTextureManager().bindTexture(texture);
|
||||
drawTexturedModalRect(guiLeft, guiTop, 0, 0, xSize, ySize);
|
||||
|
||||
if(diFurnace.primed) {
|
||||
drawTexturedModalRect(guiLeft + 121, guiTop + 22, 176, 0, 6, 8);
|
||||
}
|
||||
|
||||
this.drawInfoPanel(guiLeft - 16, guiTop + 36, 16, 16, 2);
|
||||
this.drawInfoPanel(guiLeft - 16, guiTop + 36 + 16, 16, 16, 3);
|
||||
}
|
||||
}
|
||||
@ -288,6 +288,27 @@ public class ModItems {
|
||||
public static Item mechanism_launcher_2;
|
||||
public static Item mechanism_special;
|
||||
|
||||
public static Item primer_357;
|
||||
public static Item primer_44;
|
||||
public static Item primer_9;
|
||||
public static Item primer_50;
|
||||
public static Item primer_buckshot;
|
||||
public static Item casing_357;
|
||||
public static Item casing_44;
|
||||
public static Item casing_9;
|
||||
public static Item casing_50;
|
||||
public static Item casing_buckshot;
|
||||
public static Item assembly_iron;
|
||||
public static Item assembly_steel;
|
||||
public static Item assembly_lead;
|
||||
public static Item assembly_gold;
|
||||
public static Item assembly_schrabidium;
|
||||
public static Item assembly_pip;
|
||||
public static Item assembly_nopip;
|
||||
public static Item assembly_smg;
|
||||
public static Item assembly_uzi;
|
||||
public static Item assembly_calamity;
|
||||
|
||||
public static Item circuit_targeting_tier1;
|
||||
public static Item circuit_targeting_tier2;
|
||||
public static Item circuit_targeting_tier3;
|
||||
@ -396,6 +417,11 @@ public class ModItems {
|
||||
public static Item stamp_schrabidium_wire;
|
||||
public static Item stamp_schrabidium_circuit;
|
||||
|
||||
public static Item stamp_357;
|
||||
public static Item stamp_44;
|
||||
public static Item stamp_9;
|
||||
public static Item stamp_50;
|
||||
|
||||
public static Item blades_gold;
|
||||
public static Item blades_aluminium;
|
||||
public static Item blades_iron;
|
||||
@ -1726,6 +1752,26 @@ public class ModItems {
|
||||
mechanism_launcher_1 = new Item().setUnlocalizedName("mechanism_launcher_1").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":mechanism_5");
|
||||
mechanism_launcher_2 = new Item().setUnlocalizedName("mechanism_launcher_2").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":mechanism_6");
|
||||
mechanism_special = new Item().setUnlocalizedName("mechanism_special").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":mechanism_7");
|
||||
primer_357 = new Item().setUnlocalizedName("primer_357").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":primer_357");
|
||||
primer_44 = new Item().setUnlocalizedName("primer_44").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":primer_44");
|
||||
primer_9 = new Item().setUnlocalizedName("primer_9").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":primer_9");
|
||||
primer_50 = new Item().setUnlocalizedName("primer_50").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":primer_50");
|
||||
primer_buckshot = new Item().setUnlocalizedName("primer_buckshot").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":primer_buckshot");
|
||||
casing_357 = new Item().setUnlocalizedName("casing_357").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":casing_357");
|
||||
casing_44 = new Item().setUnlocalizedName("casing_44").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":casing_44");
|
||||
casing_9 = new Item().setUnlocalizedName("casing_9").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":casing_9");
|
||||
casing_50 = new Item().setUnlocalizedName("casing_50").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":casing_50");
|
||||
casing_buckshot = new Item().setUnlocalizedName("casing_buckshot").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":casing_buckshot");
|
||||
assembly_iron = new Item().setUnlocalizedName("assembly_iron").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":assembly_iron");
|
||||
assembly_steel = new Item().setUnlocalizedName("assembly_steel").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":assembly_steel");
|
||||
assembly_lead = new Item().setUnlocalizedName("assembly_lead").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":assembly_lead");
|
||||
assembly_gold = new Item().setUnlocalizedName("assembly_gold").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":assembly_gold");
|
||||
assembly_schrabidium = new Item().setUnlocalizedName("assembly_schrabidium").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":assembly_schrabidium");
|
||||
assembly_pip = new Item().setUnlocalizedName("assembly_pip").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":assembly_pip");
|
||||
assembly_nopip = new Item().setUnlocalizedName("assembly_nopip").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":assembly_nopip");
|
||||
assembly_smg = new Item().setUnlocalizedName("assembly_smg").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":assembly_smg");
|
||||
assembly_uzi = new Item().setUnlocalizedName("assembly_uzi").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":assembly_uzi");
|
||||
assembly_calamity = new Item().setUnlocalizedName("assembly_calamity").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":assembly_calamity");
|
||||
|
||||
wiring_red_copper = new ItemWiring().setUnlocalizedName("wiring_red_copper").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":wiring_red_copper");
|
||||
|
||||
@ -1803,6 +1849,10 @@ public class ModItems {
|
||||
stamp_schrabidium_plate = new ItemBlades(1024).setUnlocalizedName("stamp_schrabidium_plate").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_schrabidium_plate");
|
||||
stamp_schrabidium_wire = new ItemBlades(1024).setUnlocalizedName("stamp_schrabidium_wire").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_schrabidium_wire");
|
||||
stamp_schrabidium_circuit = new ItemBlades(1024).setUnlocalizedName("stamp_schrabidium_circuit").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_schrabidium_circuit");
|
||||
stamp_357 = new ItemBlades(512).setUnlocalizedName("stamp_357").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_357");
|
||||
stamp_44 = new ItemBlades(512).setUnlocalizedName("stamp_44").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_44");
|
||||
stamp_9 = new ItemBlades(512).setUnlocalizedName("stamp_9").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_9");
|
||||
stamp_50 = new ItemBlades(512).setUnlocalizedName("stamp_50").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_50");
|
||||
|
||||
blades_aluminium = new ItemBlades(1 * 1200).setUnlocalizedName("blades_aluminium").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":blades_aluminium");
|
||||
blades_gold = new ItemBlades(5 * 1200).setUnlocalizedName("blades_gold").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":blades_gold");
|
||||
@ -3097,6 +3147,32 @@ public class ModItems {
|
||||
GameRegistry.registerItem(mechanism_launcher_2, mechanism_launcher_2.getUnlocalizedName());
|
||||
GameRegistry.registerItem(mechanism_special, mechanism_special.getUnlocalizedName());
|
||||
|
||||
//Primers
|
||||
GameRegistry.registerItem(primer_357, primer_357.getUnlocalizedName());
|
||||
GameRegistry.registerItem(primer_44, primer_44.getUnlocalizedName());
|
||||
GameRegistry.registerItem(primer_9, primer_9.getUnlocalizedName());
|
||||
GameRegistry.registerItem(primer_50, primer_50.getUnlocalizedName());
|
||||
GameRegistry.registerItem(primer_buckshot, primer_buckshot.getUnlocalizedName());
|
||||
|
||||
//Casings
|
||||
GameRegistry.registerItem(casing_357, casing_357.getUnlocalizedName());
|
||||
GameRegistry.registerItem(casing_44, casing_44.getUnlocalizedName());
|
||||
GameRegistry.registerItem(casing_9, casing_9.getUnlocalizedName());
|
||||
GameRegistry.registerItem(casing_50, casing_50.getUnlocalizedName());
|
||||
GameRegistry.registerItem(casing_buckshot, casing_buckshot.getUnlocalizedName());
|
||||
|
||||
//Bullet Assemblies
|
||||
GameRegistry.registerItem(assembly_iron, assembly_iron.getUnlocalizedName());
|
||||
GameRegistry.registerItem(assembly_steel, assembly_steel.getUnlocalizedName());
|
||||
GameRegistry.registerItem(assembly_lead, assembly_lead.getUnlocalizedName());
|
||||
GameRegistry.registerItem(assembly_gold, assembly_gold.getUnlocalizedName());
|
||||
GameRegistry.registerItem(assembly_schrabidium, assembly_schrabidium.getUnlocalizedName());
|
||||
GameRegistry.registerItem(assembly_pip, assembly_pip.getUnlocalizedName());
|
||||
GameRegistry.registerItem(assembly_nopip, assembly_nopip.getUnlocalizedName());
|
||||
GameRegistry.registerItem(assembly_smg, assembly_smg.getUnlocalizedName());
|
||||
GameRegistry.registerItem(assembly_uzi, assembly_uzi.getUnlocalizedName());
|
||||
GameRegistry.registerItem(assembly_calamity, assembly_calamity.getUnlocalizedName());
|
||||
|
||||
//Wiring
|
||||
GameRegistry.registerItem(wiring_red_copper, wiring_red_copper.getUnlocalizedName());
|
||||
|
||||
@ -3264,6 +3340,10 @@ public class ModItems {
|
||||
GameRegistry.registerItem(stamp_schrabidium_plate, stamp_schrabidium_plate.getUnlocalizedName());
|
||||
GameRegistry.registerItem(stamp_schrabidium_wire, stamp_schrabidium_wire.getUnlocalizedName());
|
||||
GameRegistry.registerItem(stamp_schrabidium_circuit, stamp_schrabidium_circuit.getUnlocalizedName());
|
||||
GameRegistry.registerItem(stamp_357, stamp_357.getUnlocalizedName());
|
||||
GameRegistry.registerItem(stamp_44, stamp_44.getUnlocalizedName());
|
||||
GameRegistry.registerItem(stamp_9, stamp_9.getUnlocalizedName());
|
||||
GameRegistry.registerItem(stamp_50, stamp_50.getUnlocalizedName());
|
||||
|
||||
//Machine Upgrades
|
||||
GameRegistry.registerItem(upgrade_template, upgrade_template.getUnlocalizedName());
|
||||
|
||||
@ -301,6 +301,7 @@ public class ClientProxy extends ServerProxy
|
||||
ClientRegistry.bindTileEntitySpecialRenderer(TileEntityOilDuct.class, new RenderOilDuct());
|
||||
ClientRegistry.bindTileEntitySpecialRenderer(TileEntityGasDuct.class, new RenderGasDuct());
|
||||
ClientRegistry.bindTileEntitySpecialRenderer(TileEntityFluidDuct.class, new RenderFluidDuct());
|
||||
ClientRegistry.bindTileEntitySpecialRenderer(TileEntityRFDuct.class, new RenderRFCable());
|
||||
|
||||
ClientRegistry.bindTileEntitySpecialRenderer(TileEntityPylonRedWire.class, new RenderPylon());
|
||||
ClientRegistry.bindTileEntitySpecialRenderer(TileEntityStructureMarker.class, new RenderStructureMaker());
|
||||
|
||||
@ -245,6 +245,7 @@ import com.hbm.tileentity.conductor.TileEntityGasDuctSolid;
|
||||
import com.hbm.tileentity.conductor.TileEntityOilDuct;
|
||||
import com.hbm.tileentity.conductor.TileEntityOilDuctSolid;
|
||||
import com.hbm.tileentity.conductor.TileEntityPylonRedWire;
|
||||
import com.hbm.tileentity.conductor.TileEntityRFDuct;
|
||||
import com.hbm.tileentity.conductor.TileEntityWireCoated;
|
||||
import com.hbm.tileentity.deco.TileEntityBomber;
|
||||
import com.hbm.tileentity.deco.TileEntityDecoBlock;
|
||||
@ -743,6 +744,7 @@ public class MainRegistry
|
||||
GameRegistry.registerTileEntity(TileEntityFF.class, "tileentity_forcefield");
|
||||
GameRegistry.registerTileEntity(TileEntityForceField.class, "tileentity_machine_field");
|
||||
GameRegistry.registerTileEntity(TileEntityMachineShredderLarge.class, "tileentity_machine_big_shredder");
|
||||
GameRegistry.registerTileEntity(TileEntityRFDuct.class, "tileentity_hbm_rfduct");
|
||||
|
||||
EntityRegistry.registerModEntity(EntityRocket.class, "entity_rocket", 0, this, 250, 1, true);
|
||||
EntityRegistry.registerModEntity(EntityNukeExplosion.class, "entity_nuke_explosion", 1, this, 250, 1, true);
|
||||
|
||||
@ -56,6 +56,8 @@ public class ResourceManager {
|
||||
//Press
|
||||
public static final IModelCustom press_body = AdvancedModelLoader.loadModel(new ResourceLocation(RefStrings.MODID, "models/press_body.obj"));
|
||||
public static final IModelCustom press_head = AdvancedModelLoader.loadModel(new ResourceLocation(RefStrings.MODID, "models/press_head.obj"));
|
||||
public static final IModelCustom epress_body = AdvancedModelLoader.loadModel(new ResourceLocation(RefStrings.MODID, "models/epress_body.obj"));
|
||||
public static final IModelCustom epress_head = AdvancedModelLoader.loadModel(new ResourceLocation(RefStrings.MODID, "models/epress_head.obj"));
|
||||
|
||||
//Chemplant
|
||||
public static final IModelCustom chemplant_new = AdvancedModelLoader.loadModel(new ResourceLocation(RefStrings.MODID, "models/chemplant_main_new.obj"));
|
||||
|
||||
159
com/hbm/render/tileentity/RenderRFCable.java
Normal file
@ -0,0 +1,159 @@
|
||||
package com.hbm.render.tileentity;
|
||||
|
||||
import org.lwjgl.opengl.GL11;
|
||||
|
||||
import com.hbm.lib.RefStrings;
|
||||
import com.hbm.tileentity.conductor.TileEntityRFDuct;
|
||||
|
||||
import net.minecraft.client.renderer.Tessellator;
|
||||
import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.util.ResourceLocation;
|
||||
import net.minecraftforge.common.util.ForgeDirection;
|
||||
|
||||
public class RenderRFCable extends TileEntitySpecialRenderer {
|
||||
|
||||
public ResourceLocation texture = new ResourceLocation(RefStrings.MODID, "textures/blocks/rf_cable.png");
|
||||
float pixel = 1F/16F;
|
||||
float textureP = 1F / 32F;
|
||||
|
||||
@Override
|
||||
public void renderTileEntityAt(TileEntity tileentity, double offsetX, double offsetY, double offsetZ, float f) {
|
||||
GL11.glTranslated(offsetX, offsetY, offsetZ);
|
||||
GL11.glDisable(GL11.GL_LIGHTING);
|
||||
this.bindTexture(texture);
|
||||
drawCore(tileentity);
|
||||
TileEntityRFDuct cable = (TileEntityRFDuct) tileentity;
|
||||
for(int i = 0; i < cable.connections.length; i++)
|
||||
{
|
||||
if(cable.connections[i] != null)
|
||||
{
|
||||
drawConnection(cable.connections[i]);
|
||||
}
|
||||
}
|
||||
GL11.glTranslated(-offsetX, -offsetY, -offsetZ);
|
||||
GL11.glEnable(GL11.GL_LIGHTING);
|
||||
|
||||
}
|
||||
|
||||
public void drawCore(TileEntity tileentity) {
|
||||
Tessellator tesseract = Tessellator.instance;
|
||||
tesseract.startDrawingQuads();
|
||||
tesseract.addVertexWithUV(1 - 11 * pixel / 2, 11 * pixel / 2, 1 - 11 * pixel / 2, 5 * textureP, 5 * textureP);
|
||||
tesseract.addVertexWithUV(1 - 11 * pixel / 2, 1 - 11 * pixel / 2, 1 - 11 * pixel / 2, 5 * textureP, 0 * textureP);
|
||||
tesseract.addVertexWithUV(11 * pixel / 2, 1 - 11 * pixel / 2, 1 - 11 * pixel / 2, 0 * textureP, 0 * textureP);
|
||||
tesseract.addVertexWithUV(11 * pixel / 2, 11 * pixel / 2, 1 - 11 * pixel / 2, 0 * textureP, 5 * textureP);
|
||||
|
||||
tesseract.addVertexWithUV(1 - 11 * pixel / 2, 11 * pixel / 2, 11 * pixel / 2, 5 * textureP, 5 * textureP);
|
||||
tesseract.addVertexWithUV(1 - 11 * pixel / 2, 1 - 11 * pixel / 2, 11 * pixel / 2, 5 * textureP, 0 * textureP);
|
||||
tesseract.addVertexWithUV(1 - 11 * pixel / 2, 1 - 11 * pixel / 2, 1 - 11 * pixel / 2, 0 * textureP, 0 * textureP);
|
||||
tesseract.addVertexWithUV(1 - 11 * pixel / 2, 11 * pixel / 2, 1 - 11 * pixel / 2, 0 * textureP, 5 * textureP);
|
||||
|
||||
tesseract.addVertexWithUV(11 * pixel / 2, 11 * pixel / 2, 11 * pixel / 2, 5 * textureP, 5 * textureP);
|
||||
tesseract.addVertexWithUV(11 * pixel / 2, 1 - 11 * pixel / 2, 11 * pixel / 2, 5 * textureP, 0 * textureP);
|
||||
tesseract.addVertexWithUV(1 - 11 * pixel / 2, 1 - 11 * pixel / 2, 11 * pixel / 2, 0 * textureP, 0 * textureP);
|
||||
tesseract.addVertexWithUV(1 - 11 * pixel / 2, 11 * pixel / 2, 11 * pixel / 2, 0 * textureP, 5 * textureP);
|
||||
|
||||
tesseract.addVertexWithUV(11 * pixel / 2, 11 * pixel / 2, 1 - 11 * pixel / 2, 5 * textureP, 5 * textureP);
|
||||
tesseract.addVertexWithUV(11 * pixel / 2, 1 - 11 * pixel / 2, 1 - 11 * pixel / 2, 5 * textureP, 0 * textureP);
|
||||
tesseract.addVertexWithUV(11 * pixel / 2, 1 - 11 * pixel / 2, 11 * pixel / 2, 0 * textureP, 0 * textureP);
|
||||
tesseract.addVertexWithUV(11 * pixel / 2, 11 * pixel / 2, 11 * pixel / 2, 0 * textureP, 5 * textureP);
|
||||
|
||||
tesseract.addVertexWithUV(1 - 11 * pixel / 2, 1 - 11 * pixel / 2, 1 - 11 * pixel / 2, 5 * textureP, 5 * textureP);
|
||||
tesseract.addVertexWithUV(1 - 11 * pixel / 2, 1 - 11 * pixel / 2, 11 * pixel / 2, 5 * textureP, 0 * textureP);
|
||||
tesseract.addVertexWithUV(11 * pixel / 2, 1 - 11 * pixel / 2, 11 * pixel / 2, 0 * textureP, 0 * textureP);
|
||||
tesseract.addVertexWithUV(11 * pixel / 2, 1 - 11 * pixel / 2, 1 - 11 * pixel / 2, 0 * textureP, 5 * textureP);
|
||||
|
||||
tesseract.addVertexWithUV(11 * pixel / 2, 11 * pixel / 2, 1 - 11 * pixel / 2, 5 * textureP, 5 * textureP);
|
||||
tesseract.addVertexWithUV(11 * pixel / 2, 11 * pixel / 2, 11 * pixel / 2, 5 * textureP, 0 * textureP);
|
||||
tesseract.addVertexWithUV(1 - 11 * pixel / 2, 11 * pixel / 2, 11 * pixel / 2, 0 * textureP, 0 * textureP);
|
||||
tesseract.addVertexWithUV(1 - 11 * pixel / 2, 11 * pixel / 2, 1 - 11 * pixel / 2, 0 * textureP, 5 * textureP);
|
||||
tesseract.draw();
|
||||
|
||||
// Muehsam muss ich hier im BSH meine genialen Mods schreiben, obwohl ich die Zeit eigentlich doch besser nutzen koennte.
|
||||
// Da mir das aber Spass macht, wird auch in Zukunft gutes Zeug von mir geben (und damit meine ich NICHT Drogen, etc.)
|
||||
// Danke.
|
||||
|
||||
//I didn't write this, but I'm gonna leave it there.
|
||||
}
|
||||
|
||||
public void drawConnection(ForgeDirection direction)
|
||||
{
|
||||
Tessellator tesseract = Tessellator.instance;
|
||||
tesseract.startDrawingQuads();
|
||||
GL11.glTranslatef(0.5F, 0.5F, 0.5F);
|
||||
if(direction.equals(ForgeDirection.UP))
|
||||
{
|
||||
|
||||
}
|
||||
if(direction.equals(ForgeDirection.DOWN))
|
||||
{
|
||||
GL11.glRotatef(180, 1, 0, 0);
|
||||
}
|
||||
if(direction.equals(ForgeDirection.NORTH))
|
||||
{
|
||||
GL11.glRotatef(270, 1, 0, 0);
|
||||
}
|
||||
if(direction.equals(ForgeDirection.SOUTH))
|
||||
{
|
||||
GL11.glRotatef(90, 1, 0, 0);
|
||||
}
|
||||
if(direction.equals(ForgeDirection.EAST))
|
||||
{
|
||||
GL11.glRotatef(270, 0, 0, 1);
|
||||
}
|
||||
if(direction.equals(ForgeDirection.WEST))
|
||||
{
|
||||
GL11.glRotatef(90, 0, 0, 1);
|
||||
}
|
||||
GL11.glTranslatef(-0.5F, -0.5F, -0.5F);
|
||||
|
||||
tesseract.addVertexWithUV(1 - 11 * pixel / 2, 1 - 11 * pixel / 2, 1 - 11 * pixel / 2, 5 * textureP, 5 * textureP);
|
||||
tesseract.addVertexWithUV(1 - 11 * pixel / 2, 1, 1 - 11 * pixel / 2, 10 * textureP, 5 * textureP);
|
||||
tesseract.addVertexWithUV(11 * pixel / 2, 1, 1 - 11 * pixel / 2, 10 * textureP, 0 * textureP);
|
||||
tesseract.addVertexWithUV(11 * pixel / 2, 1 - 11 * pixel / 2, 1 - 11 * pixel / 2, 5 * textureP, 0 * textureP);
|
||||
|
||||
tesseract.addVertexWithUV(11 * pixel / 2, 1 - 11 * pixel / 2, 11 * pixel / 2, 5 * textureP, 5 * textureP);
|
||||
tesseract.addVertexWithUV(11 * pixel / 2, 1, 11 * pixel / 2, 10 * textureP, 5 * textureP);
|
||||
tesseract.addVertexWithUV(1 - 11 * pixel / 2, 1, 11 * pixel / 2, 10 * textureP, 0 * textureP);
|
||||
tesseract.addVertexWithUV(1 - 11 * pixel / 2, 1 - 11 * pixel / 2, 11 * pixel / 2, 5 * textureP, 0 * textureP);
|
||||
|
||||
tesseract.addVertexWithUV(1 - 11 * pixel / 2, 1 - 11 * pixel / 2, 11 * pixel / 2, 5 * textureP, 5 * textureP);
|
||||
tesseract.addVertexWithUV(1 - 11 * pixel / 2, 1, 11 * pixel / 2, 10 * textureP, 5 * textureP);
|
||||
tesseract.addVertexWithUV(1 - 11 * pixel / 2, 1, 1 - 11 * pixel / 2, 10 * textureP, 0 * textureP);
|
||||
tesseract.addVertexWithUV(1 - 11 * pixel / 2, 1 - 11 * pixel / 2, 1 - 11 * pixel / 2, 5 * textureP, 0 * textureP);
|
||||
|
||||
tesseract.addVertexWithUV(11 * pixel / 2, 1 - 11 * pixel / 2, 1 - 11 * pixel / 2, 5 * textureP, 5 * textureP);
|
||||
tesseract.addVertexWithUV(11 * pixel / 2, 1, 1 - 11 * pixel / 2, 10 * textureP, 5 * textureP);
|
||||
tesseract.addVertexWithUV(11 * pixel / 2, 1, 11 * pixel / 2, 10 * textureP, 0 * textureP);
|
||||
tesseract.addVertexWithUV(11 * pixel / 2, 1 - 11 * pixel / 2, 11 * pixel / 2, 5 * textureP, 0 * textureP);
|
||||
tesseract.draw();
|
||||
|
||||
GL11.glTranslatef(0.5F, 0.5F, 0.5F);
|
||||
if(direction.equals(ForgeDirection.UP))
|
||||
{
|
||||
|
||||
}
|
||||
if(direction.equals(ForgeDirection.DOWN))
|
||||
{
|
||||
GL11.glRotatef(-180, 1, 0, 0);
|
||||
}
|
||||
if(direction.equals(ForgeDirection.NORTH))
|
||||
{
|
||||
GL11.glRotatef(-270, 1, 0, 0);
|
||||
}
|
||||
if(direction.equals(ForgeDirection.SOUTH))
|
||||
{
|
||||
GL11.glRotatef(-90, 1, 0, 0);
|
||||
}
|
||||
if(direction.equals(ForgeDirection.EAST))
|
||||
{
|
||||
GL11.glRotatef(-270, 0, 0, 1);
|
||||
}
|
||||
if(direction.equals(ForgeDirection.WEST))
|
||||
{
|
||||
GL11.glRotatef(-90, 0, 0, 1);
|
||||
}
|
||||
GL11.glTranslatef(-0.5F, -0.5F, -0.5F);
|
||||
}
|
||||
}
|
||||
@ -3,13 +3,18 @@ package com.hbm.tileentity.bomb;
|
||||
import java.util.List;
|
||||
|
||||
import com.hbm.blocks.ModBlocks;
|
||||
import com.hbm.entity.effect.EntityNukeCloudSmall;
|
||||
import com.hbm.entity.logic.EntityNukeExplosionMK4;
|
||||
import com.hbm.explosion.ExplosionLarge;
|
||||
import com.hbm.items.ModItems;
|
||||
import com.hbm.main.MainRegistry;
|
||||
import com.hbm.packet.AuxGaugePacket;
|
||||
import com.hbm.packet.PacketDispatcher;
|
||||
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.EntityLivingBase;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.init.Blocks;
|
||||
import net.minecraft.init.Items;
|
||||
@ -18,6 +23,7 @@ import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.nbt.NBTTagList;
|
||||
import net.minecraft.potion.Potion;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.util.AxisAlignedBB;
|
||||
import net.minecraft.world.World;
|
||||
@ -189,8 +195,6 @@ public class TileEntityNukeN45 extends TileEntity implements ISidedInventory {
|
||||
|
||||
if(!worldObj.isRemote) {
|
||||
|
||||
primed = true;
|
||||
|
||||
PacketDispatcher.wrapper.sendToAll(new AuxGaugePacket(xCoord, yCoord, zCoord, primed ? 1 : 0, 0));
|
||||
|
||||
if(primed) {
|
||||
@ -211,14 +215,21 @@ public class TileEntityNukeN45 extends TileEntity implements ISidedInventory {
|
||||
rad = 15;
|
||||
}
|
||||
|
||||
if(rad == 0) {
|
||||
primed = false;
|
||||
return;
|
||||
}
|
||||
|
||||
List<Object> list = worldObj.getEntitiesWithinAABBExcludingEntity(null, AxisAlignedBB.getBoundingBox(xCoord + 0.5 - rad, yCoord + 0.5 - rad, zCoord + 0.5 - rad, xCoord + 0.5 + rad, yCoord + 0.5 + rad, zCoord + 0.5 + rad));
|
||||
|
||||
for(Object o : list) {
|
||||
|
||||
Entity e = (Entity)o;
|
||||
|
||||
if(e.width * e.width * e.height >= 1.5) {
|
||||
explode(worldObj, xCoord, yCoord, zCoord, getType());
|
||||
if(e instanceof EntityLivingBase && e.width * e.width * e.height >= 0.5 && !((EntityLivingBase)e).isPotionActive(Potion.invisibility.id)) {
|
||||
int t = getType();
|
||||
this.clearSlots();
|
||||
explode(worldObj, xCoord, yCoord, zCoord, t);
|
||||
break;
|
||||
}
|
||||
}
|
||||
@ -229,10 +240,44 @@ public class TileEntityNukeN45 extends TileEntity implements ISidedInventory {
|
||||
|
||||
public static void explode(World world, int x, int y, int z, int type) {
|
||||
|
||||
if(!world.isRemote) {
|
||||
world.setBlockToAir(x, y, z);
|
||||
|
||||
System.out.println(type);
|
||||
|
||||
switch(type) {
|
||||
case 1:
|
||||
world.createExplosion(null, x + 0.5, y + 0.5, z + 0.5, 1.5F, true);
|
||||
break;
|
||||
case 2:
|
||||
world.createExplosion(null, x + 0.5, y + 0.5, z + 0.5, 4.0F, true);
|
||||
break;
|
||||
case 3:
|
||||
ExplosionLarge.explode(world, x, y, z, 15, true, false, false);
|
||||
break;
|
||||
case 4:
|
||||
world.spawnEntityInWorld(EntityNukeExplosionMK4.statFac(world, (int)(MainRegistry.missileRadius * 0.75F), x + 0.5, y + 0.5, z + 0.5));
|
||||
|
||||
EntityNukeCloudSmall entity2 = new EntityNukeCloudSmall(world, 1000, MainRegistry.missileRadius * 0.005F * 0.75F);
|
||||
entity2.posX = x;
|
||||
entity2.posY = y;
|
||||
entity2.posZ = z;
|
||||
world.spawnEntityInWorld(entity2);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public int getType() {
|
||||
|
||||
if(!primed && slots[1] != null) {
|
||||
|
||||
if(slots[1].getItem() == ModItems.upgrade_effect_1 ||
|
||||
slots[1].getItem() == ModItems.upgrade_effect_2 ||
|
||||
slots[1].getItem() == ModItems.upgrade_effect_3)
|
||||
return 100;
|
||||
}
|
||||
|
||||
if(slots[0] != null) {
|
||||
|
||||
if(slots[0].getItem() == Item.getItemFromBlock(ModBlocks.det_cord))
|
||||
@ -245,14 +290,6 @@ public class TileEntityNukeN45 extends TileEntity implements ISidedInventory {
|
||||
return 4;
|
||||
}
|
||||
|
||||
if(!primed && slots[1] != null) {
|
||||
|
||||
if(slots[1].getItem() == ModItems.upgrade_effect_1 ||
|
||||
slots[1].getItem() == ModItems.upgrade_effect_2 ||
|
||||
slots[1].getItem() == ModItems.upgrade_effect_3)
|
||||
return 100;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
144
com/hbm/tileentity/conductor/TileEntityRFDuct.java
Normal file
@ -0,0 +1,144 @@
|
||||
package com.hbm.tileentity.conductor;
|
||||
|
||||
import cofh.api.energy.EnergyStorage;
|
||||
import cofh.api.energy.IEnergyConnection;
|
||||
import cofh.api.energy.IEnergyHandler;
|
||||
import cofh.api.energy.IEnergyReceiver;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraftforge.common.util.ForgeDirection;
|
||||
|
||||
public class TileEntityRFDuct extends TileEntity implements IEnergyHandler {
|
||||
|
||||
public ForgeDirection[] connections = new ForgeDirection[6];
|
||||
protected EnergyStorage storage;
|
||||
public int output;
|
||||
|
||||
public TileEntityRFDuct(int output) {
|
||||
this.output = output;
|
||||
this.storage = new EnergyStorage(200);
|
||||
|
||||
storage.setMaxReceive(output);
|
||||
storage.setMaxExtract(output);
|
||||
storage.setMaxTransfer(output);
|
||||
}
|
||||
|
||||
public void updateEntity() {
|
||||
this.updateConnections();
|
||||
|
||||
if (storage.getEnergyStored() > 0) {
|
||||
for (int i = 0; i < 6; i++) {
|
||||
|
||||
int targetX = xCoord + ForgeDirection.getOrientation(i).offsetX;
|
||||
int targetY = yCoord + ForgeDirection.getOrientation(i).offsetY;
|
||||
int targetZ = zCoord + ForgeDirection.getOrientation(i).offsetZ;
|
||||
|
||||
TileEntity tile = worldObj.getTileEntity(targetX, targetY, targetZ);
|
||||
if (tile instanceof IEnergyReceiver) {
|
||||
int maxExtract = storage.getMaxExtract();
|
||||
int maxAvailable = storage.extractEnergy(maxExtract, true);
|
||||
int energyTransferred = ((IEnergyReceiver) tile)
|
||||
.receiveEnergy(ForgeDirection.getOrientation(i).getOpposite(), maxAvailable, false);
|
||||
|
||||
storage.extractEnergy(energyTransferred, false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public void updateConnections() {
|
||||
if (this.worldObj.getTileEntity(xCoord, yCoord + 1, zCoord) instanceof IEnergyConnection)
|
||||
connections[0] = ForgeDirection.UP;
|
||||
else
|
||||
connections[0] = null;
|
||||
|
||||
if (this.worldObj.getTileEntity(xCoord, yCoord - 1, zCoord) instanceof IEnergyConnection)
|
||||
connections[1] = ForgeDirection.DOWN;
|
||||
else
|
||||
connections[1] = null;
|
||||
|
||||
if (this.worldObj.getTileEntity(xCoord, yCoord, zCoord - 1) instanceof IEnergyConnection)
|
||||
connections[2] = ForgeDirection.NORTH;
|
||||
else
|
||||
connections[2] = null;
|
||||
|
||||
if (this.worldObj.getTileEntity(xCoord, yCoord, zCoord + 1) instanceof IEnergyConnection)
|
||||
connections[3] = ForgeDirection.SOUTH;
|
||||
else
|
||||
connections[3] = null;
|
||||
|
||||
if (this.worldObj.getTileEntity(xCoord + 1, yCoord, zCoord) instanceof IEnergyConnection)
|
||||
connections[4] = ForgeDirection.EAST;
|
||||
else
|
||||
connections[4] = null;
|
||||
|
||||
if (this.worldObj.getTileEntity(xCoord - 1, yCoord, zCoord) instanceof IEnergyConnection)
|
||||
connections[5] = ForgeDirection.WEST;
|
||||
else
|
||||
connections[5] = null;
|
||||
}
|
||||
|
||||
public boolean onlyOneOpposite(ForgeDirection[] directions) {
|
||||
ForgeDirection mainDirection = null;
|
||||
boolean isOpposite = false;
|
||||
|
||||
for (int i = 0; i < directions.length; i++) {
|
||||
|
||||
if (mainDirection == null && directions[i] != null)
|
||||
mainDirection = directions[i];
|
||||
|
||||
if (directions[i] != null && mainDirection != directions[i]) {
|
||||
if (!isOpposite(mainDirection, directions[i]))
|
||||
return false;
|
||||
else
|
||||
isOpposite = true;
|
||||
}
|
||||
}
|
||||
|
||||
return isOpposite;
|
||||
}
|
||||
|
||||
public boolean isOpposite(ForgeDirection firstDirection, ForgeDirection secondDirection) {
|
||||
|
||||
if ((firstDirection.equals(ForgeDirection.NORTH) && secondDirection.equals(ForgeDirection.SOUTH))
|
||||
|| firstDirection.equals(ForgeDirection.SOUTH) && secondDirection.equals(ForgeDirection.NORTH))
|
||||
return true;
|
||||
|
||||
if ((firstDirection.equals(ForgeDirection.EAST) && secondDirection.equals(ForgeDirection.WEST))
|
||||
|| firstDirection.equals(ForgeDirection.WEST) && secondDirection.equals(ForgeDirection.EAST))
|
||||
return true;
|
||||
|
||||
if ((firstDirection.equals(ForgeDirection.UP) && secondDirection.equals(ForgeDirection.DOWN))
|
||||
|| firstDirection.equals(ForgeDirection.DOWN) && secondDirection.equals(ForgeDirection.UP))
|
||||
return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean canConnectEnergy(ForgeDirection from) {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int receiveEnergy(ForgeDirection from, int maxReceive, boolean simulate) {
|
||||
return this.storage.receiveEnergy(Math.min(output, maxReceive), simulate);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int extractEnergy(ForgeDirection from, int maxExtract, boolean simulate) {
|
||||
|
||||
return storage.extractEnergy(storage.getMaxExtract(), simulate);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getEnergyStored(ForgeDirection from) {
|
||||
return storage.getEnergyStored();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getMaxEnergyStored(ForgeDirection from) {
|
||||
return storage.getMaxEnergyStored();
|
||||
}
|
||||
|
||||
}
|
||||
@ -8,6 +8,7 @@ import com.hbm.interfaces.ISource;
|
||||
import com.hbm.lib.Library;
|
||||
|
||||
import cofh.api.energy.EnergyStorage;
|
||||
import cofh.api.energy.IEnergyHandler;
|
||||
import cofh.api.energy.IEnergyReceiver;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraftforge.common.util.ForgeDirection;
|
||||
|
||||