zefram/minetest/technic.git
10 years agoFix drops for active machines
Zefram [Sat, 26 Apr 2014 20:07:05 +0000 (21:07 +0100)]
Fix drops for active machines

Active machine nodes need to drop their inactive counterpart.  Some were
missing that declaration.

10 years agoFix drill charge usage
Zefram [Sat, 26 Apr 2014 19:02:19 +0000 (20:02 +0100)]
Fix drill charge usage

The drills weren't taking the variable usage cost into account (either
the per-type base cost or the per-mode multiplier) when deciding whether
they have sufficient charge to use.  This could cause them to overshoot in
charge usage, although they would then clamp to zero rather than record
negative charge.  Also, for the Mk1 drill where the cost was assessed
correctly, the drill would refuse to discharge to exactly zero charge.

10 years agoImprove message about drill control
Zefram [Fri, 25 Apr 2014 16:44:46 +0000 (17:44 +0100)]
Improve message about drill control

The message to "hold shift" makes an unwarranted assumption about the
user's keybindings.  Messages from the server should refer to a key's
game function, rather than its extragame identity.

10 years agoThe code to connect an electrical machine to cables would only consider
RealBadAngel [Sun, 27 Apr 2014 13:57:11 +0000 (15:57 +0200)]
The code to connect an electrical machine to cables would only consider
the first-seen tier for which the machine was registered.  So the
switching station, which is uniquely registered for all tiers, would
only visually connect to LV cable when placed, not to MV or HV cable.
(It would function nevertheless, and cable would connect to the switching
station if placed later.)  Change to consider all tiers.  Incidentally
avoid a gratuitous iteration through all registered machines.

10 years agoSave chest label when exiting formspec
Zefram [Thu, 24 Apr 2014 16:42:35 +0000 (17:42 +0100)]
Save chest label when exiting formspec

When using the form to edit a chest label, apply the edited label whenever the
form is submitted with the text field included, rather than only if the form's
specific "finished editing" button is used.  This supports the natural use of
<ret> to indicate that text editing is complete, which works with other text
editing forms such as that for signs.

10 years agoAdd fir leaves to the chainsaw's timber_nodenames
asl97 [Mon, 21 Apr 2014 10:14:07 +0000 (18:14 +0800)]
Add fir leaves to the chainsaw's timber_nodenames

10 years agoAdd german translations for all mods
Xanthin [Wed, 16 Apr 2014 17:10:00 +0000 (19:10 +0200)]
Add german translations for all mods

10 years agoFix laser discharging
Zefram [Tue, 22 Apr 2014 16:04:18 +0000 (17:04 +0100)]
Fix laser discharging

Commit a6dae893d66319739e8dfe962f67285221eb9b91 introduced per-version
charge cost for firing mining lasers, but applies this in addition to
the old fixed cost which it was meant to replace.  Fix by removing the
application of the fixed cost.

The same commit did successfully change the check for a laser having
sufficient charge to fire, so that's based purely on the variable cost.
As a consequence, firing a laser that has just enough charge to cover the
variable cost could cause its charge to go negative.  (For example, by
fully charging a Mk1 laser and then firing it until it empties, resulting
in a charge of -400.)  It turned out that set_RE_wear handled that badly,
producing an over-100% wear value that would wrap to a *low* wear value,
leading to the laser's wear bar looking as if it's fully charged.

To protect against silly wear values, make set_RE_wear clamp the wear
value to avoid wrapping.  Handle specially the case of a fully-discharged
tool, where there was desirable wrapping to zero.

10 years agoFix typo in frame and template motor recipes
Boba [Mon, 14 Apr 2014 17:58:50 +0000 (19:58 +0200)]
Fix typo in frame and template motor recipes

10 years agoFix crash when using the template tool
Boba [Mon, 14 Apr 2014 18:05:08 +0000 (20:05 +0200)]
Fix crash when using the template tool

10 years agoFix steel ingot item name in laser Mk1 crafting recipe
ShadowNinja [Thu, 3 Apr 2014 03:03:51 +0000 (23:03 -0400)]
Fix steel ingot item name in laser Mk1 crafting recipe

10 years agoAdd translation support to technic_chests
ShadowNinja [Sun, 30 Mar 2014 23:32:13 +0000 (19:32 -0400)]
Add translation support to technic_chests

10 years agoModify mining drill charges and power usage. Also fix bug with mk3 power usage.
Bryant Mairs [Wed, 4 Dec 2013 03:05:23 +0000 (19:05 -0800)]
Modify mining drill charges and power usage. Also fix bug with mk3 power usage.

10 years agoMake the charge stored by every battery box consistent with the input ingredients.
Bryant Mairs [Wed, 4 Dec 2013 02:52:55 +0000 (18:52 -0800)]
Make the charge stored by every battery box consistent with the input ingredients.

10 years agoReduce the charge stored by each type of crystal.
Bryant Mairs [Wed, 4 Dec 2013 02:52:27 +0000 (18:52 -0800)]
Reduce the charge stored by each type of crystal.

10 years agoModify the cost, range, and cost-per-shot of all 3 lasers.
Bryant Mairs [Wed, 4 Dec 2013 02:51:57 +0000 (18:51 -0800)]
Modify the cost, range, and cost-per-shot of all 3 lasers.

10 years agoRevised recipe for mk1 laser and added mk2 & mk3 laser recipes.
Bryant Mairs [Wed, 4 Dec 2013 02:45:33 +0000 (18:45 -0800)]
Revised recipe for mk1 laser and added mk2 & mk3 laser recipes.

10 years agoFix CNC steel block groups
Tim [Sat, 29 Mar 2014 09:57:01 +0000 (10:57 +0100)]
Fix CNC steel block groups

10 years agoFix constructor description
Tim [Sat, 29 Mar 2014 09:17:35 +0000 (10:17 +0100)]
Fix constructor description

10 years agoMake marble, granite, bronze and stainless steel blocks CNC-millable
Tim [Sat, 29 Mar 2014 08:59:41 +0000 (09:59 +0100)]
Make marble, granite, bronze and stainless steel blocks CNC-millable

10 years agoRemove duplicate CNC registration of default:tree
Tim [Sat, 29 Mar 2014 08:42:46 +0000 (09:42 +0100)]
Remove duplicate CNC registration of default:tree

10 years agoFix steel block node name in the CNC
Tim [Sat, 29 Mar 2014 08:36:08 +0000 (09:36 +0100)]
Fix steel block node name in the CNC

10 years agoFix CNC power drain
ShadowNinja [Thu, 27 Mar 2014 02:34:17 +0000 (22:34 -0400)]
Fix CNC power drain

10 years agoMake some headers smaller in the READMEs
ShadowNinja [Thu, 27 Feb 2014 05:32:37 +0000 (00:32 -0500)]
Make some headers smaller in the READMEs

10 years agoUpdate READMEs
ShadowNinja [Thu, 27 Feb 2014 05:27:16 +0000 (00:27 -0500)]
Update READMEs

10 years agoInfinite stacks fix
Novatux [Sun, 12 Jan 2014 15:52:42 +0000 (16:52 +0100)]
Infinite stacks fix

10 years agoActually call the mvps callback
Novatux [Fri, 3 Jan 2014 14:19:43 +0000 (15:19 +0100)]
Actually call the mvps callback

10 years agoMesecons mvps support, better frames
Novatux [Fri, 3 Jan 2014 12:39:12 +0000 (13:39 +0100)]
Mesecons mvps support, better frames

10 years agoA few fixes
Novatux [Thu, 2 Jan 2014 13:07:15 +0000 (14:07 +0100)]
A few fixes

10 years agoMake those frames able to move
Novatux [Thu, 2 Jan 2014 10:26:50 +0000 (11:26 +0100)]
Make those frames able to move

10 years agoFirst tests
Novatux [Thu, 2 Jan 2014 10:00:42 +0000 (11:00 +0100)]
First tests

10 years agoFixed music player
Carter Kolwey [Sat, 11 Jan 2014 03:57:16 +0000 (21:57 -0600)]
Fixed music player

10 years agofix a few more tube-based recipes
Vanessa Ezekowitz [Sat, 4 Jan 2014 03:05:35 +0000 (22:05 -0500)]
fix a few more tube-based recipes

10 years agoFix all recipes that use pipeworks pneumatic tubes to follow latest changes
Vanessa Ezekowitz [Thu, 2 Jan 2014 04:27:51 +0000 (23:27 -0500)]
Fix all recipes that use pipeworks pneumatic tubes to follow latest changes
in pipeworks node namining conventions.

10 years agoUse get_string for owner string
ShadowNinja [Sun, 29 Dec 2013 15:59:04 +0000 (10:59 -0500)]
Use get_string for owner string

10 years agoFix mining drill digging in the wrong direction
ShadowNinja [Mon, 23 Dec 2013 21:54:21 +0000 (16:54 -0500)]
Fix mining drill digging in the wrong direction

10 years agoLocalize generator fuel
ShadowNinja [Mon, 23 Dec 2013 20:18:38 +0000 (15:18 -0500)]
Localize generator fuel

10 years agofix crash in constructor
Vanessa Ezekowitz [Sat, 21 Dec 2013 07:26:09 +0000 (02:26 -0500)]
fix crash in constructor

10 years agoAdd wrench serialization format version
ShadowNinja [Fri, 20 Dec 2013 23:48:46 +0000 (18:48 -0500)]
Add wrench serialization format version

10 years agoRewrite wrench. INCOMPATIBLE WITH OLD ITEMS
ShadowNinja [Fri, 20 Dec 2013 22:07:39 +0000 (17:07 -0500)]
Rewrite wrench. INCOMPATIBLE WITH OLD ITEMS

You must place all of your picked up nodes before
updating and pick them back up after.

10 years agoFix stack count fetching
ShadowNinja [Wed, 18 Dec 2013 22:10:25 +0000 (17:10 -0500)]
Fix stack count fetching

10 years agoRename wrench variable
ShadowNinja [Fri, 20 Dec 2013 03:57:25 +0000 (22:57 -0500)]
Rename wrench variable

10 years agomove inject_items to top of file (so that it's above the abm that calls it)
Vanessa Ezekowitz [Thu, 19 Dec 2013 01:41:08 +0000 (20:41 -0500)]
move inject_items to top of file (so that it's above the abm that calls it)

10 years agoRemove config file creation
ShadowNinja [Wed, 18 Dec 2013 01:01:01 +0000 (20:01 -0500)]
Remove config file creation

This made it difficult to change default settings

10 years agoRewrite flashlight
ShadowNinja [Wed, 18 Dec 2013 00:57:24 +0000 (19:57 -0500)]
Rewrite flashlight

10 years agoMore global localiztions
ShadowNinja [Wed, 18 Dec 2013 00:51:38 +0000 (19:51 -0500)]
More global localiztions

10 years agoRewrite chests
ShadowNinja [Wed, 18 Dec 2013 00:15:20 +0000 (19:15 -0500)]
Rewrite chests

10 years agoMake tube sending faster
ShadowNinja [Tue, 17 Dec 2013 19:37:02 +0000 (14:37 -0500)]
Make tube sending faster

10 years agoRemove duplicate ABM
ShadowNinja [Tue, 17 Dec 2013 19:24:06 +0000 (14:24 -0500)]
Remove duplicate ABM

10 years agoAdd protection support to tools
ShadowNinja [Tue, 17 Dec 2013 19:22:10 +0000 (14:22 -0500)]
Add protection support to tools

This adds support to the chainsaw, mining drill, mining laser,
sonic screwdriver, and tree tap.

10 years agoLocalize most variables
ShadowNinja [Tue, 17 Dec 2013 18:56:37 +0000 (13:56 -0500)]
Localize most variables

10 years agoFix music player
ShadowNinja [Mon, 16 Dec 2013 23:57:01 +0000 (18:57 -0500)]
Fix music player

Sounds not included

10 years agomore pipeworks API-change updates
Vanessa Ezekowitz [Sun, 15 Dec 2013 20:49:28 +0000 (15:49 -0500)]
more pipeworks API-change updates

10 years agoadapt to changes in Pipeworks API
Vanessa Ezekowitz [Sun, 15 Dec 2013 20:03:41 +0000 (15:03 -0500)]
adapt to changes in Pipeworks API

10 years agoAdd support for minetest.swap_node
ShadowNinja [Wed, 11 Dec 2013 01:14:39 +0000 (20:14 -0500)]
Add support for minetest.swap_node

10 years agoAdd protection support to the sonic screwdriver
ShadowNinja [Wed, 11 Dec 2013 00:52:40 +0000 (19:52 -0500)]
Add protection support to the sonic screwdriver

10 years agoGenerators don't send items
ShadowNinja [Tue, 3 Dec 2013 20:30:09 +0000 (15:30 -0500)]
Generators don't send items

10 years agoAdd pipeworks support to generators
SmallJoker [Sun, 1 Dec 2013 17:45:45 +0000 (18:45 +0100)]
Add pipeworks support to generators

10 years agoFix lava can being able to hold 16 sources
Bryant Mairs [Tue, 3 Dec 2013 06:02:07 +0000 (22:02 -0800)]
Fix lava can being able to hold 16 sources

10 years agoMove production percentage for geothermal generators to infotext
Bryant Mairs [Sun, 1 Dec 2013 03:56:03 +0000 (19:56 -0800)]
Move production percentage for geothermal generators to infotext

10 years agoDrop full rubber tree nodes
ShadowNinja [Wed, 27 Nov 2013 22:24:01 +0000 (17:24 -0500)]
Drop full rubber tree nodes

10 years agoDon't regenerate placed rubber tree trunks
ShadowNinja [Wed, 27 Nov 2013 22:14:34 +0000 (17:14 -0500)]
Don't regenerate placed rubber tree trunks

10 years agoFix generators
ShadowNinja [Wed, 27 Nov 2013 21:56:09 +0000 (16:56 -0500)]
Fix generators

10 years agoAdd missing translations
ShadowNinja [Wed, 27 Nov 2013 21:17:19 +0000 (16:17 -0500)]
Add missing translations

10 years agoExternalize common functions and protect inventories
ShadowNinja [Wed, 27 Nov 2013 17:28:56 +0000 (12:28 -0500)]
Externalize common functions and protect inventories

11 years agoUse upvalues in registrations
ShadowNinja [Tue, 26 Nov 2013 21:53:52 +0000 (16:53 -0500)]
Use upvalues in registrations

11 years agoDon't allow tubing items into LV machines
ShadowNinja [Tue, 26 Nov 2013 21:33:27 +0000 (16:33 -0500)]
Don't allow tubing items into LV machines

11 years agoFix crash when quarrying a protected area
ShadowNinja [Mon, 18 Nov 2013 20:27:17 +0000 (15:27 -0500)]
Fix crash when quarrying a protected area

11 years agoFix crash with invalid radius
ShadowNinja [Fri, 15 Nov 2013 05:54:17 +0000 (00:54 -0500)]
Fix crash with invalid radius

11 years agoFix bug with translations.
Novatux [Mon, 11 Nov 2013 14:37:30 +0000 (15:37 +0100)]
Fix bug with translations.

11 years agofix chainsaw not working
Vanessa Ezekowitz [Thu, 7 Nov 2013 04:08:28 +0000 (23:08 -0500)]
fix chainsaw not working

11 years agoFix crash.
Novatux [Sat, 2 Nov 2013 14:44:55 +0000 (15:44 +0100)]
Fix crash.

11 years agoRemove default bronze recipe.
Novatux [Fri, 1 Nov 2013 15:15:48 +0000 (16:15 +0100)]
Remove default bronze recipe.

11 years agoadd italian translation
pagliaccio [Thu, 31 Oct 2013 14:01:25 +0000 (15:01 +0100)]
add italian translation

11 years agoReadd craft recipe for the Mk1 mining laser
ShadowNinja [Wed, 30 Oct 2013 19:18:18 +0000 (15:18 -0400)]
Readd craft recipe for the Mk1 mining laser

11 years agoAdd Mk2 and Mk3 mining lasers
HybridDog [Sun, 27 Oct 2013 21:01:13 +0000 (22:01 +0100)]
Add Mk2 and Mk3 mining lasers

11 years agoFix comment
ShadowNinja [Wed, 30 Oct 2013 17:50:24 +0000 (13:50 -0400)]
Fix comment

11 years agoAdd spanish translation
kaeza [Wed, 30 Oct 2013 17:46:56 +0000 (13:46 -0400)]
Add spanish translation

11 years agoAdd support for translations via intllib
ShadowNinja [Wed, 30 Oct 2013 17:45:32 +0000 (13:45 -0400)]
Add support for translations via intllib

11 years agoAdd mg support
Novatux [Tue, 29 Oct 2013 10:18:08 +0000 (11:18 +0100)]
Add mg support

11 years agoFix generator nodemane
ShadowNinja [Mon, 28 Oct 2013 18:37:40 +0000 (14:37 -0400)]
Fix generator nodemane

11 years agoFix crash when entering a non-number for forcefield range
ShadowNinja [Sun, 27 Oct 2013 18:38:44 +0000 (14:38 -0400)]
Fix crash when entering a non-number for forcefield range

11 years agoAdd MV and HV generators and make coal dust a fuel
pagliaccio [Tue, 23 Jul 2013 12:43:14 +0000 (14:43 +0200)]
Add MV and HV generators and make coal dust a fuel

11 years agofix typo
Vanessa Ezekowitz [Sat, 26 Oct 2013 11:14:35 +0000 (07:14 -0400)]
fix typo

11 years agoAdd crafts for frames and templates.
Novatux [Sat, 26 Oct 2013 07:13:17 +0000 (09:13 +0200)]
Add crafts for frames and templates.

11 years agofix typo
RealBadAngel [Fri, 25 Oct 2013 17:45:06 +0000 (19:45 +0200)]
fix typo

11 years agoBetter tempaltes
Novatux [Sat, 19 Oct 2013 09:27:47 +0000 (11:27 +0200)]
Better tempaltes

11 years agoFix negative tool discharging and a few other tweaks...
ShadowNinja [Sat, 19 Oct 2013 02:22:39 +0000 (22:22 -0400)]
Fix negative tool discharging and a few other tweaks...

Disable the flashlight by default.
Use itemstack:{get,set}_{metadata,name,wear,...} rather than {to,from}_table.
Improve the style of part of the code of mischelaneous tools

11 years agoRemove remaining frames.addVect
Novatux [Thu, 17 Oct 2013 16:33:21 +0000 (18:33 +0200)]
Remove remaining frames.addVect

11 years agoBugfix
Novatux [Sun, 13 Oct 2013 14:24:17 +0000 (16:24 +0200)]
Bugfix

11 years agoAdd drop to templates
Novatux [Sun, 13 Oct 2013 09:09:08 +0000 (11:09 +0200)]
Add drop to templates

11 years agoMake template motors have an owner and check area protection
Novatux [Sun, 6 Oct 2013 12:20:13 +0000 (14:20 +0200)]
Make template motors have an owner and check area protection

11 years agoAdd templates
Novatux [Sun, 13 Oct 2013 08:26:18 +0000 (10:26 +0200)]
Add templates

11 years agoDisable wind mill by default because it isn't ready yet
ShadowNinja [Sun, 6 Oct 2013 16:41:48 +0000 (12:41 -0400)]
Disable wind mill by default because it isn't ready yet

11 years agoMake frame motors have an owner and check area protection
Novatux [Sun, 6 Oct 2013 12:20:13 +0000 (14:20 +0200)]
Make frame motors have an owner and check area protection

11 years agoBugfixes with energy branch.
Novatux [Fri, 6 Sep 2013 16:30:03 +0000 (18:30 +0200)]
Bugfixes with energy branch.

Conflicts:
technic/machines/switching_station.lua

11 years agoForgot to update on cable add/destroy+use minetest.hash_node_position because else...
Novatux [Thu, 29 Aug 2013 16:51:53 +0000 (18:51 +0200)]
Forgot to update on cable add/destroy+use minetest.hash_node_position because else it did not work.

11 years agoMake power distribution more efficient.
Novatux [Thu, 29 Aug 2013 07:34:40 +0000 (09:34 +0200)]
Make power distribution more efficient.

Conflicts:
technic/machines/register/cables.lua

11 years agoCreate technic config file if it doesn't exist
ShadowNinja [Thu, 3 Oct 2013 20:33:07 +0000 (16:33 -0400)]
Create technic config file if it doesn't exist

11 years agoMove framedglass to it's own repository
ShadowNinja [Thu, 3 Oct 2013 20:18:28 +0000 (16:18 -0400)]
Move framedglass to it's own repository