vitalie wrote:Let's put it the other way round. "I need 1500 cobblestones. That would be ... err ... Hey, how many stacks would that be?"Hybrid Dog wrote:15 * 99 = 15 * 100 - 15 = 1485
With stacks of 100, you move the decimal point two positions to the left, round up and get the result. With stacks of 99 you do what? Yep, you do the same thing and take an extra stack just to be safe :-)
Wuzzy wrote:Just some thoughts: Reducing the default stack size to a value below 99 can be a minor problem because it will not be backwards-compatible with existing worlds. There will be still item stacks of 99 after the update.
Increasing the stack size would be unproblematic, of course.
Wuzzy wrote:Maybe (!), along with this feature, the engine default could be set to 65535, the maximum number the engine permits. It's extreme, but there are 3 ideas behind this:
- Sane default to make mods and subgames work “out of the box”
- Subgames will be “forced” to overwrite this number and actually *think* about stack sizes, instead of just mindlessly using the engine default. :-)
- Perfect for testing and quick hacks, before the hard work of gameplay balancing begins
That's exactly what I was saying. With stacks of 99, you still need 100s.Hybrid Dog wrote:vitalie wrote:Let's put it the other way round. "I need 1500 cobblestones. That would be ... err ... Hey, how many stacks would that be?"Hybrid Dog wrote:15 * 99 = 15 * 100 - 15 = 1485
With stacks of 100, you move the decimal point two positions to the left, round up and get the result. With stacks of 99 you do what? Yep, you do the same thing and take an extra stack just to be safe :-)
1500 = 15 * 100 = 15 * (99 + 1) → 15x99 + 1x15
Don wrote:Wuzzy. Love the idea. Would be great if it was a conf setting. default_stack_size = 99
glichgamer12 wrote:Ok math wizards. The only thing I don't understand is why just bring it up ONE number, to 100?
snowflake wrote:but in Minecraft its only stackable to 64..
minetest.craftitemdef_default.stack_max=100
minetest.nodedef_default.stack_max=100
minetest.noneitemdef_default.stack_max=100
orwell wrote:We are not minecraft!
orwell wrote:or any other value you dream of
minetest.craftitemdef_default.stack_max=0/0
minetest.nodedef_default.stack_max=0/0
minetest.noneitemdef_default.stack_max=0/0
Hybrid Dog wrote:orwell wrote:We are not minecraft!
thanksorwell wrote:or any other value you dream ofYour phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
minetest.craftitemdef_default.stack_max=0/0
minetest.nodedef_default.stack_max=0/0
minetest.noneitemdef_default.stack_max=0/0
my oneiric value doesn't work :G
the stack size is set to 1 ;¬ {
orwell wrote:Put this on the top of init.lua of the default mod:Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
minetest.craftitemdef_default.stack_max=100
minetest.nodedef_default.stack_max=100
minetest.noneitemdef_default.stack_max=100
to set the default stack size to 100 (or any other value you dream of)
I agree, 100 is easier to calculate with and is an even number.
wilkgr76 wrote:Well, how di you want a stack of 0 items??
core = nil
Hi, my username is azekill_DIABLO and i'm an exelent bug-maker(yeah...i know...i have a bad reputation)
azekill_DIABLO wrote:not really useful XDYour phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
core = nil
<hr>
Hi,my user name is azekill_DIABLO and i'm an exelent bug-maker(yeah...i know...i have a bad reputation)
Hi, my username is azekill_DIABLO and i'm an exelent bug-maker(yeah...i know...i have a bad reputation)
orwell wrote:@Gael de Sally, why don't you add a poll to the first post?
ABJ wrote:I'll tell you what, people. Strange magic has caused certain nodes, such as leaves, cobble, paper, etc to stackable all the way to 495.
Hi, my username is azekill_DIABLO and i'm an exelent bug-maker(yeah...i know...i have a bad reputation)
Hi, my username is azekill_DIABLO and i'm an exelent bug-maker(yeah...i know...i have a bad reputation)
Users browsing this forum: Bing [Bot] and 9 guests