Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 44 additions & 8 deletions projects/1.20-fabric/assets/neepmeat/meatweapons/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
"itemGroup.neepmeat.weapons": "NEEPMeat Weapons",

"item.meatweapons.small_ballistic_magazine": "Small Ballistic Cartridge",
"item.meatweapons.small_ballistic_magazine.lore_0": "Holds 12 units.",
"item.meatweapons.small_ballistic_magazine.lore_0": "Holds 60 units.",
"item.meatweapons.medium_ballistic_magazine": "Medium Ballistic Cartridge",
"item.meatweapons.medium_ballistic_magazine.lore_0": "Holds 24 units.",
"item.meatweapons.medium_ballistic_magazine.lore_0": "Holds 120 units.",
"item.meatweapons.large_ballistic_magazine": "Large Ballistic Magazine",
"item.meatweapons.large_ballistic_magazine.lore_0": "Holds 48 units.",
"item.meatweapons.large_ballistic_magazine.lore_0": "Holds 240 units.",
"item.meatweapons.small_energy_magazine": "Small Battery",
"item.meatweapons.small_energy_magazine.lore_0": "Holds 12 units.",
"item.meatweapons.medium_energy_magazine": "Medium Battery",
Expand All @@ -24,10 +24,14 @@
"item.meatweapons.iron_barrel": "Iron Barrel",
"item.meatweapons.meat_steel_barrel": "Meat Steel Barrel",

"item.meatweapons.meatgun_pistol": "Meatgun Pistol",
"item.meatweapons.meatgun_pistol.lore_0": "A lightweight base module with a pistol grip.\nMaximum complexity: 16",
"item.meatweapons.meatgun_staff": "Meatgun Staff",
"item.meatweapons.meatgun_staff.lore_0": "A base module that is held like a staff. Works best with melee attachments.\nMaximum complexity: 16",
"item.meatweapons.basic_pistol": "Raw Gun",
"item.meatweapons.basic_pistol.lore_0": "Cobbled together from reanimated flesh.\nComes with a pistol module preinstalled.\nPassively generates ammunition from food.\nClick with a food item in an inventory to feed.",
"item.meatweapons.meatgun_pistol": "Pistol",
"item.meatweapons.meatgun_pistol.lore_0": "A lightweight Meatgun base with a pistol grip.",
"item.meatweapons.meatgun_staff": "Staff",
"item.meatweapons.meatgun_staff.lore_0": "A Meatgun base that is held like a staff. Works best with melee attachments.",
"item.meatweapons.long_gun": "Long Gun",
"item.meatweapons.long_gun.lore_0": "A Meatgun base with a built-in stock that can support more modules.",

"item.meatweapons.assault_drill": "Assault Drill",
"item.meatweapons.assault_drill.lore": "Shred your enemies! Amuse your friends! Guaranteed to break the ice at parties!",
Expand All @@ -44,26 +48,38 @@
"key.meatweapons.down": "Vehicle Down",
"key.meatweapons.fire_secondary": "Secondary Trigger",
"key.meatweapons.use_item": "Use block while holding Meatgun",
"key.meatweapons.trigger_1": "Primary Trigger",
"key.meatweapons.trigger_2": "Secondary Trigger",

"enchantment.meatweapons.spikes": "Spikes",

"meatgun_module.meatweapons.basic_pistol_base": "Raw Gun",
"meatgun_module.meatweapons.base_pistol": "Pistol Base",
"meatgun_module.meatweapons.base_staff": "Staff Base",
"meatgun_module.meatweapons.base_long_gun": "Long Gun",
"meatgun_module.meatweapons.pistol": "Pistol",
"meatgun_module.meatweapons.chugger": "Chugger",
"meatgun_module.meatweapons.bosher": "Bøsher",
"meatgun_module.meatweapons.bosher.desc": "Projects numerous fragments over a wide area.",
"meatgun_module.meatweapons.long_boi": "Long Boi",
"meatgun_module.meatweapons.long_boi.desc": "Shoots a blinding beam that can hit multiple targets.\nCharges when the trigger is held and fires when released. Must be charged for at least 2s to fire, indicated by two beeps.\nAfter 4s, the beam becomes explosive. \n§cAfter 6.5s, the pulse chamber will overload, killing the user.",
"meatgun_module.meatweapons.grenade_launcher": "Grenade Launcher",
"meatgun_module.meatweapons.grenade_launcher.desc": "Launches grenades that bounce off surfaces and explode on contact with entities.",
"meatgun_module.meatweapons.triple_carousel": "Triple Carousel",
"meatgun_module.meatweapons.triple_carousel.desc": "Allows three modules. Trigger signals are passed to the topmost module. Rotates to the next module after either trigger is pressed.",
"meatgun_module.meatweapons.double_carousel": "Double Carousel",
"meatgun_module.meatweapons.underbarrel": "Underbarrel",
"meatgun_module.meatweapons.underbarrel.desc": "Supports two modules, on below the other.\nThe primary trigger is passed to the upper module and the secondary secondary is passed to the lower one.",
"meatgun_module.meatweapons.battery": "Additional Battery",
"meatgun_module.meatweapons.battery.desc": "Stores 16 extra units of energy ammunition.",
"meatgun_module.meatweapons.homing_brain": "Homing Brain",
"meatgun_module.meatweapons.homing_brain.desc": "Adds a homing effect to large (entity) projectiles produced by the weapon.",
"meatgun_module.meatweapons.bone_stealer": "Bone Extractor",
"meatgun_module.meatweapons.bone_stealer.desc": "Draws out an enemy's bones when they are damaged, converting them into ammunition for a random Meatgun in the hotbar.",
"meatgun_module.meatweapons.slow_barrel": "Slow barrel",
"meatgun_module.meatweapons.slow_barrel.desc": "Makes projectiles into entities when installed in a BARREL slot.",
"meatgun_module.meatweapons.basic_stock": "Stock",
"meatgun_module.meatweapons.basic_stock.desc": "+100% accuracy",
"meatgun_module.meatweapons.phage_ray_speed_modifier": "Phage Ray Speed Modifier",
"meatgun_module.meatweapons.phage_ray_speed_modifier.desc": "Increases the mining speed of the Phage Ray",
"meatgun_module.meatweapons.base": "Base",
Expand All @@ -74,13 +90,20 @@
"meatgun_module.meatweapons.halberd.desc": "Trigger 1: Normal melee attack.\nTrigger 2 (sprinting): Launches forwards when held and released after half a second.\nTrigger 2 (mounted): hooks and drags the target for a second.",
"meatgun_module.meatweapons.shock_staff": "Shock Staff",
"meatgun_module.meatweapons.shock_staff.desc": "Trigger 1: Normal melee attack.\nTrigger 2: Shoots a projectile.",
"meatgun_module.meatweapons.x2_firing_mechanism": "Repeating Firing Mechanism",
"meatgun_module.meatweapons.x2_firing_mechanism.desc": "2x rate of fire, 0.5x damage, 0.5x ammunition usage.",
"meatgun_module.meatweapons.x8_firing_mechanism": "Electronic Firing Mechanism",
"meatgun_module.meatweapons.x8_firing_mechanism.desc": "8x rate of fire, 0.125x damage, 0.125x ammunition usage.",

"item.meatweapons.blood_bullet_provider": "Blood Bullet Converter",
"implant.meatweapons.blood_bullet_provider": "Blood Bullet Converter",
"implant.meatweapons.blood_bullet_provider.desc_0": "Converts the user's blood into bullets when out of Meatgun ammunition.",
"item.meatweapons.magazine_organ": "Magazine Organ",
"implant.meatweapons.magazine_organ": "Magazine Organ",
"implant.meatweapons.magazine_organ.desc_0": "Allows eating of up to eight ammunition items for storage.",
"item.meatweapons.ammunition_generator": "Bullet Fabricator",
"implant.meatweapons.ammunition_generator": "Bullet Fabricator",
"implant.meatweapons.ammunition_generator.desc_0": "When installed in a Meatgun, gradually produces ammunition using metabolic substrate\nProduces 1 unit every 2s.",

"text.meatweapons.tinker_table.item_here": "Place Meatgun here",
"tooltip.meatweapons.meatgun_module_1": "Meatgun Module - install in a Tinker Table",
Expand All @@ -93,5 +116,18 @@
"tooltip.meatweapons.meatgun_module.remaining_complexity": "C: %s / %s",

"death.attack.meatweapons.bullet": "%1$s was pwned.",
"death.attack.meatweapons.bullet.player": "%1$s was shot by %1$s."
"death.attack.meatweapons.bullet.player": "%1$s was shot by %1$s.",
"tooltip.meatweapons.meatgun_module.max_complexity": "Max complexity: %s",
"tooltip.meatweapons.applicable": "Applicable slots: %s",
"death.attack.meatweapons.meatgun_explosion": "%1$s was gibbed",
"death.attack.meatweapons.meatgun_explosion.player": "%1$s was gibbed by %2$s",

"slot_type.meatweapons.normal": "NORMAL",
"slot_type.meatweapons.barrel": "BARREL",
"slot_type.meatweapons.drill": "DRILL",
"slot_type.meatweapons.sight": "SIGHT",
"slot_type.meatweapons.stock": "STOCK",
"slot_type.meatweapons.firing_mechanism": "FIRING MECHANISM",

"message.meatweapons.item_implant.title": "Item Implant"
}
56 changes: 46 additions & 10 deletions projects/1.20-fabric/assets/neepmeat/meatweapons/lang/zh_cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
"itemGroup.neepmeat.weapons": "NEEPMeat丨武器",

"item.meatweapons.small_ballistic_magazine": "小型弹道弹夹",
"item.meatweapons.small_ballistic_magazine.lore_0": "能容纳12发弹药。",
"item.meatweapons.small_ballistic_magazine.lore_0": "能容纳60发弹药。",
"item.meatweapons.medium_ballistic_magazine": "中型弹道弹夹",
"item.meatweapons.medium_ballistic_magazine.lore_0": "能容纳24发弹药。",
"item.meatweapons.medium_ballistic_magazine.lore_0": "能容纳120发弹药。",
"item.meatweapons.large_ballistic_magazine": "大型弹道弹匣",
"item.meatweapons.large_ballistic_magazine.lore_0": "能容纳48发弹药。",
"item.meatweapons.large_ballistic_magazine.lore_0": "能容纳240发弹药。",
"item.meatweapons.small_energy_magazine": "小型蓄能器",
"item.meatweapons.small_energy_magazine.lore_0": "能容纳12发弹药。",
"item.meatweapons.medium_energy_magazine": "中型蓄能器",
Expand All @@ -24,10 +24,14 @@
"item.meatweapons.iron_barrel": "铁枪管",
"item.meatweapons.meat_steel_barrel": "肉钢枪管",

"item.meatweapons.meatgun_pistol": "肉质手枪",
"item.meatweapons.meatgun_pistol.lore_0": "轻量级基础模块,附带手枪握把。\n最大复杂度:16",
"item.meatweapons.meatgun_staff": "肉质手杖",
"item.meatweapons.meatgun_staff.lore_0": "能像杖子一样手持的基础模块。最适合搭配近战附件。\n最大复杂度:16",
"item.meatweapons.basic_pistol": "粗制肉枪",
"item.meatweapons.basic_pistol.lore_0": "由复活的血肉随意拼接而成。\n自带手枪模块。\n会常态使用食物生成弹药。\n在物品栏中使用食物物品点击它即可喂食。",
"item.meatweapons.meatgun_pistol": "手枪",
"item.meatweapons.meatgun_pistol.lore_0": "轻量级肉质武器基座,附带手枪握把。",
"item.meatweapons.meatgun_staff": "手杖",
"item.meatweapons.meatgun_staff.lore_0": "能像杖子一样手持的肉质武器基座。最适合搭配近战附件。",
"item.meatweapons.long_gun": "长枪",
"item.meatweapons.long_gun.lore_0": "自带枪托的肉质武器基座,能承载更多模块。",

"item.meatweapons.assault_drill": "突击钻",
"item.meatweapons.assault_drill.lore": "绞碎敌人!取悦朋友!绝对能让你在派对里人见人爱!",
Expand All @@ -44,26 +48,38 @@
"key.meatweapons.down": "载具下降",
"key.meatweapons.fire_secondary": "触发第二攻击",
"key.meatweapons.use_item": "持武器时使用物品/放置方块",
"key.meatweapons.trigger_1": "触发第一攻击",
"key.meatweapons.trigger_2": "触发第二攻击",

"enchantment.meatweapons.spikes": "尖刺",

"meatgun_module.meatweapons.basic_pistol_base": "粗制肉枪",
"meatgun_module.meatweapons.base_pistol": "手枪基座",
"meatgun_module.meatweapons.base_staff": "手杖基座",
"meatgun_module.meatweapons.base_long_gun": "长枪",
"meatgun_module.meatweapons.pistol": "手枪",
"meatgun_module.meatweapons.chugger": "重弹枪",
"meatgun_module.meatweapons.bosher": "霰射枪",
"meatgun_module.meatweapons.bosher.desc": "向较大范围发射多个弹片。",
"meatgun_module.meatweapons.long_boi": "超长枪",
"meatgun_module.meatweapons.long_boi": "威猛长枪",
"meatgun_module.meatweapons.long_boi.desc": "发射出能击中多个目标的耀眼光束。\n按住触发键时进行充能,松开后即发射。发射前必须至少充能2秒,以两声哔声指示。\n4秒后,光束会获得爆炸能力。\n§c在6.5秒后,脉冲仓会过载,导致使用者死亡。",
"meatgun_module.meatweapons.grenade_launcher": "榴弹发射器",
"meatgun_module.meatweapons.grenade_launcher.desc": "发射榴弹;榴弹会在方块表面反弹,撞到实体即会爆炸。",
"meatgun_module.meatweapons.triple_carousel": "三座旋转架",
"meatgun_module.meatweapons.triple_carousel.desc": "可安装三个模块。发射信号会送至最上方的模块。触发后旋转至下一模块。",
"meatgun_module.meatweapons.double_carousel": "双座旋转架",
"meatgun_module.meatweapons.underbarrel": "下挂架",
"meatgun_module.meatweapons.underbarrel.desc": "可安装两个模块,两者按上下排布。\n第一攻击的触发信号会送至上方模块,第二攻击的送至下方模块。",
"meatgun_module.meatweapons.battery": "附加蓄能器",
"meatgun_module.meatweapons.battery.desc": "额外存储16发能量弹药。",
"meatgun_module.meatweapons.homing_brain": "追踪大脑",
"meatgun_module.meatweapons.homing_brain.desc": "令武器发射的大型弹射物(实体)追踪目标。",
"meatgun_module.meatweapons.bone_stealer": "抽骨器",
"meatgun_module.meatweapons.bone_stealer.desc": "拔出受伤敌人的骨头,并将其转化为快捷栏中随机一把肉质武器的弹药。",
"meatgun_module.meatweapons.slow_barrel": "缓速枪管",
"meatgun_module.meatweapons.slow_barrel.desc": "安装于枪管槽位时,将弹射物变为实体。",
"meatgun_module.meatweapons.basic_stock": "枪托",
"meatgun_module.meatweapons.basic_stock.desc": "+100% 精准度",
"meatgun_module.meatweapons.phage_ray_speed_modifier": "吞噬射线炮速度强化器",
"meatgun_module.meatweapons.phage_ray_speed_modifier.desc": "增加吞噬射线炮的破坏速度。",
"meatgun_module.meatweapons.base": "基座",
Expand All @@ -74,13 +90,20 @@
"meatgun_module.meatweapons.halberd.desc": "触发第一攻击:普通近战攻击。\n触发第二攻击(疾跑):举起超过半秒后放下,向前突进。\n触发第二攻击(骑乘):勾住并拖行目标一段时间。",
"meatgun_module.meatweapons.shock_staff": "震击法杖",
"meatgun_module.meatweapons.shock_staff.desc": "触发第一攻击:普通近战攻击。\n触发第二攻击:发射一个弹射物。",
"meatgun_module.meatweapons.x2_firing_mechanism": "连发装置",
"meatgun_module.meatweapons.x2_firing_mechanism.desc": "发射速率变为2倍,伤害变为0.5倍,弹药消耗量变为0.5倍。",
"meatgun_module.meatweapons.x8_firing_mechanism": "电击发装置",
"meatgun_module.meatweapons.x8_firing_mechanism.desc": "发射速率变为8倍,伤害变为0.125倍,弹药消耗量变为0.125倍。",

"item.meatweapons.blood_bullet_provider": "血弹转换器",
"implant.meatweapons.blood_bullet_provider": "血弹转换器",
"implant.meatweapons.blood_bullet_provider.desc_0": "肉质武器弹药耗尽后,允许使用持有者的血液作为弹药。",
"item.meatweapons.magazine_organ": "弹匣器官",
"implant.meatweapons.magazine_organ": "弹匣器官",
"implant.meatweapons.magazine_organ.desc_0": "可吞噬最多8份弹药并暂存。",
"item.meatweapons.ammunition_generator": "弹药构装器",
"implant.meatweapons.ammunition_generator": "弹药构装器",
"implant.meatweapons.ammunition_generator.desc_0": "安装于肉质武器时,会使用代谢底物制造弹药。\n每2秒产出1发弹药。",

"text.meatweapons.tinker_table.item_here": "在此处放置肉质武器",
"tooltip.meatweapons.meatgun_module_1": "肉质武器模块,需在改装台处安装",
Expand All @@ -92,6 +115,19 @@
"tooltip.meatweapons.meatgun_module.complexity": "复杂度:%s",
"tooltip.meatweapons.meatgun_module.remaining_complexity": "复杂度:%s / %s",

"death.attack.meatweapons.bullet": "%1$s被击杀了。",
"death.attack.meatweapons.bullet.player": "%1$s被%2$s击毙了。"
"death.attack.meatweapons.bullet": "%1$s被击杀了",
"death.attack.meatweapons.bullet.player": "%1$s被%2$s击毙了",
"tooltip.meatweapons.meatgun_module.max_complexity": "最大复杂度:%s",
"tooltip.meatweapons.applicable": "适用槽位:%s",
"death.attack.meatweapons.meatgun_explosion": "%1$s被打成了碎末",
"death.attack.meatweapons.meatgun_explosion.player": "%1$s被%2$s打成了碎末",

"slot_type.meatweapons.normal": "普通",
"slot_type.meatweapons.barrel": "枪管",
"slot_type.meatweapons.drill": "钻具",
"slot_type.meatweapons.sight": "瞄具",
"slot_type.meatweapons.stock": "枪托",
"slot_type.meatweapons.firing_mechanism": "击发装置",

"message.meatweapons.item_implant.title": "物品植入物"
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Prints the top stack entry.
Places the current value of the program counter (the address of the currently executed instruction) on the top of the stack.

\cat{words}
# Words
# Defining Words

## :

Expand Down Expand Up @@ -159,18 +159,22 @@ begin

Marks the end of a begin-until construct. Consumes the last stack entry and branches back to the previous `BEGIN` if it is true.

## FOR ( n1 n2 -- ) (immediate)
## DO ( n1 n2 -- ) (immediate)

Begins a do-loop construct. Terminated by `LOOP` or `+LOOP`.

Checks n1 and n2 for equality and branches to the end of the loop if this is the case. Otherwise, the values are moved to the return stack and the loop begins.

The following code section will repeat until loop index reaches n1, starting at n2.
The following code section will repeat until loop index reaches 10, starting at 0.

```
10 0 do i . loop
```

## FOR ( n1 n2 -- ) (immediate)

Same as `DO`

## LOOP ( -- ) (immediate)

Increments loop index and branches to the start of the loop if it is lower than the upper bound.
Expand Down Expand Up @@ -237,6 +241,26 @@ Tests if n1 is less than or equal to n2. Equivalent to NEEPASM `LTEQ`.

Tests if n1 is greater than or equal to n2. Equivalent to NEEPASM `GTEQ`.

\cat{conversions}
# Type Conversions

## \>STR ( x1 -- s1 )

Converts the top stack item to a string.

```
123 >STR
```

## \>INT (x1 -- n1 )

Converts the top stack item to an integer. Will cause an error if the conversion will not work.

```
"123" >INT # OK
"hello" >INT # Error
```

\cat{memory}
# Memory

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
将程序计数器(当前所执行指令的地址)的当前值压入栈顶。

\cat{words}
#
# 词的定义

## :

Expand Down Expand Up @@ -160,18 +160,22 @@ begin

标记begin-until结构的结束。会取走栈顶元素,若为true则跳转至上一个`BEGIN`。

## FOR ( n1 n2 -- )(立即词)
## DO ( n1 n2 -- )(立即词)

标记do-loop结构的起始。该结构以`LOOP`或`+LOOP`结束。

会检查n1与n2相等与否,若相等则跳转至循环结束处;否则将值移动至返回栈并进入循环。

下方代码段中的循环索引从n2起始,此后进入循环,并在索引达到n1时结束循环
下方代码段中的循环索引从0起始,此后进入循环,并在索引达到10时结束循环

```
10 0 do i . loop
```

## FOR ( n1 n2 -- )(立即词)

与`DO`一致。

## LOOP ( -- )(立即词)

令循环索引递增,若运算结果小于上界则跳转至循环起始处。
Expand Down Expand Up @@ -238,6 +242,27 @@ begin

检查n1是否大于等于n2。与NEEPASM的`GTEQ`等价。

\cat{conversions}
# 类型转换

## \>STR ( x1 -- s1 )

将栈顶元素转换为字符串。

```
123 >STR
```

## \>INT (x1 -- n1 )

将栈顶元素转换为整型值。无法转换会产生错误。

```
"123" >INT # OK
"hello" >INT # Error [1]
```
[1] 错误

\cat{memory}
# 内存

Expand Down
Loading
Loading