mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-08-10 17:55:44 +00:00
panel qmaw
This commit is contained in:
parent
d9a33be854
commit
947078b759
@ -10,6 +10,8 @@
|
|||||||
* Decreased base damage to compensate
|
* Decreased base damage to compensate
|
||||||
* EMP grenades now destroy machines in a small radius like an EMP missile would
|
* EMP grenades now destroy machines in a small radius like an EMP missile would
|
||||||
* Grenades are no longer affected by nuclear blasts or other grenade explosions
|
* Grenades are no longer affected by nuclear blasts or other grenade explosions
|
||||||
|
* Players no longer receive the starting guide book on first spawn since it's now very outdated
|
||||||
|
* All redstone-over-radio panels now have QMAW integration
|
||||||
|
|
||||||
## Fixed
|
## Fixed
|
||||||
* Fixed the grenade crafting handler not checking if a shell/filling combination is even valid, allowing weird combos
|
* Fixed the grenade crafting handler not checking if a shell/filling combination is even valid, allowing weird combos
|
||||||
|
|||||||
@ -36,7 +36,6 @@ import com.hbm.handler.threading.PacketThreading;
|
|||||||
import com.hbm.items.IEquipReceiver;
|
import com.hbm.items.IEquipReceiver;
|
||||||
import com.hbm.items.ModItems;
|
import com.hbm.items.ModItems;
|
||||||
import com.hbm.items.armor.*;
|
import com.hbm.items.armor.*;
|
||||||
import com.hbm.items.tool.ItemGuideBook.BookType;
|
|
||||||
import com.hbm.items.weapon.sedna.BulletConfig;
|
import com.hbm.items.weapon.sedna.BulletConfig;
|
||||||
import com.hbm.items.weapon.sedna.ItemGunBaseNT;
|
import com.hbm.items.weapon.sedna.ItemGunBaseNT;
|
||||||
import com.hbm.items.weapon.sedna.factory.XFactory12ga;
|
import com.hbm.items.weapon.sedna.factory.XFactory12ga;
|
||||||
@ -157,7 +156,7 @@ public class ModEventHandler {
|
|||||||
PacketDispatcher.wrapper.sendTo(new PlayerInformPacket("Press O to Duck!", MainRegistry.proxy.ID_DUCK, 30_000), (EntityPlayerMP) event.player);
|
PacketDispatcher.wrapper.sendTo(new PlayerInformPacket("Press O to Duck!", MainRegistry.proxy.ID_DUCK, 30_000), (EntityPlayerMP) event.player);
|
||||||
|
|
||||||
|
|
||||||
if(GeneralConfig.enableGuideBook) {
|
/*if(GeneralConfig.enableGuideBook) {
|
||||||
HbmPlayerProps props = HbmPlayerProps.getData(event.player);
|
HbmPlayerProps props = HbmPlayerProps.getData(event.player);
|
||||||
|
|
||||||
if(!props.hasReceivedBook) {
|
if(!props.hasReceivedBook) {
|
||||||
@ -165,7 +164,7 @@ public class ModEventHandler {
|
|||||||
event.player.inventoryContainer.detectAndSendChanges();
|
event.player.inventoryContainer.detectAndSendChanges();
|
||||||
props.hasReceivedBook = true;
|
props.hasReceivedBook = true;
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
|
|
||||||
if(GeneralConfig.enableServerRecipeSync && FMLCommonHandler.instance().getSide() == Side.SERVER && event.player instanceof EntityPlayerMP) {
|
if(GeneralConfig.enableServerRecipeSync && FMLCommonHandler.instance().getSide() == Side.SERVER && event.player instanceof EntityPlayerMP) {
|
||||||
File recDir = new File(MainRegistry.configDir.getAbsolutePath() + File.separatorChar + "hbmRecipes");
|
File recDir = new File(MainRegistry.configDir.getAbsolutePath() + File.separatorChar + "hbmRecipes");
|
||||||
|
|||||||
11
src/main/resources/assets/hbm/manual/ror/panelbutton.json
Normal file
11
src/main/resources/assets/hbm/manual/ror/panelbutton.json
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"name": "Redstone-over-Radio Keypad",
|
||||||
|
"icon": ["hbm:tile.rbmk_key_pad", 1, 0],
|
||||||
|
"trigger": [["hbm:tile.rbmk_key_pad"]],
|
||||||
|
"title": {
|
||||||
|
"en_US": "Redstone-over-Radio Keypad"
|
||||||
|
},
|
||||||
|
"content": {
|
||||||
|
"en_US": "Interactive [[redstone over radio|Redstone over Radio]] transmitting device, needs to be configured with a scredriver first. Up to four buttons can be enabled using the red buttons, each button can transmit one value over its own RoR channel. This is useful for [RoR controllers|Redstone-over-Radio Controller], allowing things like RBMK settings to be adjusted with the push of a button.<br><br>The color setting accepts hexadecimal values, i.e. up to six characters with groups of two representing red, green and blue color components respectively. As a rule of thumb: FF is full color, 80 is half color and 00 is no color. FF8000 (full red, half green and no blue) is therefore orange.<br><br>The polling setting on the keypad turns the button into a locking one, the button remains pressed, sending the RoR signal each tick, until it is unpressed. State change buttons only send the command once when initially pressed.<br><br>See also:<br>[Redstone-over-Radio Gauge]<br>[Redstone-over-Radio Numeric Display]<br>[Redstone-over-Radio Graph]<br>[Redstone-over-Radio Lever]"
|
||||||
|
}
|
||||||
|
}
|
||||||
11
src/main/resources/assets/hbm/manual/ror/panelgauge.json
Normal file
11
src/main/resources/assets/hbm/manual/ror/panelgauge.json
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"name": "Redstone-over-Radio Gauge",
|
||||||
|
"icon": ["hbm:tile.rbmk_gauge", 1, 0],
|
||||||
|
"trigger": [["hbm:tile.rbmk_gauge"]],
|
||||||
|
"title": {
|
||||||
|
"en_US": "Redstone-over-Radio Gauge"
|
||||||
|
},
|
||||||
|
"content": {
|
||||||
|
"en_US": "Aesthetic [[redstone over radio|Redstone over Radio]] receiving device, needs to be configured with a scredriver first. Can represent numeric RoR values using a gauge needle. Up to four gauges can be enabled using the red buttons, each gauge can receive one value over its own RoR channel. Minimum and maximum values need to be configured before the gauge can be used, if the minimum is set to a higher value than the maximum, then the needle will run in reverse. The needle can exceed the maximum value by up to 50%, entering the red section of the gauge.<br><br>See also:<br>[Redstone-over-Radio Keypad]<br>[Redstone-over-Radio Numeric Display]<br>[Redstone-over-Radio Graph]<br>[Redstone-over-Radio Lever]"
|
||||||
|
}
|
||||||
|
}
|
||||||
11
src/main/resources/assets/hbm/manual/ror/panelgraph.json
Normal file
11
src/main/resources/assets/hbm/manual/ror/panelgraph.json
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"name": "Redstone-over-Radio Graph",
|
||||||
|
"icon": ["hbm:tile.rbmk_graph", 1, 0],
|
||||||
|
"trigger": [["hbm:tile.rbmk_graph"]],
|
||||||
|
"title": {
|
||||||
|
"en_US": "Redstone-over-Radio Graph"
|
||||||
|
},
|
||||||
|
"content": {
|
||||||
|
"en_US": "Aesthetic [[redstone over radio|Redstone over Radio]] receiving device, needs to be configured with a scredriver first. Can represent numeric RoR values over time using a line graph. Values are updated every half second, and the graph can log up to 15 seconds of input. Up to two graphs can be enabled using the red buttons, each graphs can receive one value over its own RoR channel. Useful for displaying values where the change over time is important, such as temperature curves.<br><br>See also:<br>[Redstone-over-Radio Keypad]<br>[Redstone-over-Radio Gauge]<br>[Redstone-over-Radio Numeric Display]<br>[Redstone-over-Radio Lever]"
|
||||||
|
}
|
||||||
|
}
|
||||||
11
src/main/resources/assets/hbm/manual/ror/panellever.json
Normal file
11
src/main/resources/assets/hbm/manual/ror/panellever.json
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"name": "Redstone-over-Radio Lever",
|
||||||
|
"icon": ["hbm:tile.rbmk_lever", 1, 0],
|
||||||
|
"trigger": [["hbm:tile.rbmk_lever"]],
|
||||||
|
"title": {
|
||||||
|
"en_US": "Redstone-over-Radio Lever"
|
||||||
|
},
|
||||||
|
"content": {
|
||||||
|
"en_US": "Interactive [[redstone over radio|Redstone over Radio]] transmitting device, needs to be configured with a scredriver first. Up to two large breaker switches can be enabled using the red buttons, each button can transmit one value over its own RoR channel. Levers behave similar to keypad buttons, except that they can transmit different values depending on whether they have been turned on or off. With polling enabled, the switch will continuously send the signal corresponding to whichevever state it is in, except when the lever is currently being flipped. State change causes it to only send a single pulse after it has been flipped.<br><br>See also:<br>[Redstone-over-Radio Keypad]<br>[Redstone-over-Radio Gauge]<br>[Redstone-over-Radio Numeric Display]<br>[Redstone-over-Radio Graph]"
|
||||||
|
}
|
||||||
|
}
|
||||||
11
src/main/resources/assets/hbm/manual/ror/panelnumitron.json
Normal file
11
src/main/resources/assets/hbm/manual/ror/panelnumitron.json
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"name": "Redstone-over-Radio Numeric Display",
|
||||||
|
"icon": ["hbm:tile.rbmk_numitron", 1, 0],
|
||||||
|
"trigger": [["hbm:tile.rbmk_numitron"]],
|
||||||
|
"title": {
|
||||||
|
"en_US": "Redstone-over-Radio Numeric Display"
|
||||||
|
},
|
||||||
|
"content": {
|
||||||
|
"en_US": "Aesthetic [[redstone over radio|Redstone over Radio]] receiving device, needs to be configured with a scredriver first. Can represent numeric RoR values using a seven segment number display. Up to two displays can be enabled using the red buttons, each display can receive one value over its own RoR channel. Large values displayed will be shortened, using SI suffixes. Also useful for displaying item counts provided by an [[RoR item counter|Redstone-over-Radio Item Counter]].<br><br>See also:<br>[Redstone-over-Radio Keypad]<br>[Redstone-over-Radio Gauge]<br>[Redstone-over-Radio Graph]<br>[Redstone-over-Radio Lever]"
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user