Armageddon General Discussion Board

General => Code Discussion => Topic started by: nauta on January 31, 2017, 10:53:52 AM

Title: forage stone for not quarried
Post by: nauta on January 31, 2017, 10:53:52 AM
So, quarries are cool, but (a) they stick around and are visible from a distance and (b) in small save rooms they actually will fill up the room (I think).

Sometimes you just want to get little stones.

So the proposal:

forage stone for not quarried - would dig for anything but the item in question (quarried in this case).

You could perhaps use this in other contexts too (forage wood for not twigs).

An alternative:

bury quarried - removes the quarried object.
Title: Re: forage stone for not quarried
Post by: Miradus on January 31, 2017, 11:43:52 AM
+1 for no_save quarried.
Title: Re: forage stone for not quarried
Post by: lostinspace on January 31, 2017, 01:26:04 PM
Please yes! I always feel weird when I've dug into the wall of a cave and found 10+ deposits, and now the cave is full and I can't even drop stuff.
Title: Re: forage stone for not quarried
Post by: BadSkeelz on January 31, 2017, 01:41:21 PM
Would it be considered an exploit for a Rukkian to go in to a camp, do some emotes and spam-forage a bunch of quarries in to existence to troll the inhabitants?

I didn't know quarries added to room weight. This seems like a good idea to address that, along with the general awkwardness of not always wanting a quarry.
Title: Re: forage stone for not quarried
Post by: Delirium on January 31, 2017, 01:53:18 PM
Quick solution is to just give quarries 0 weight and make sure they're no_take.
Title: Re: forage stone for not quarried
Post by: bardlyone on January 31, 2017, 02:15:17 PM
I like the premise (of anything that allows you to refine what you're seeing while foraging). I'd like to suggest that maybe 'except quarried' or '-quarried' (where that could be made really any 1 thing of type foraged in the room, like, say, sandstone, or crystal or shard) would be more intuitive as syntax for it than 'forage for not this'.
Title: Re: forage stone for not quarried
Post by: Miradus on January 31, 2017, 04:47:21 PM
Quote from: bardlyone on January 31, 2017, 02:15:17 PM
I like the premise (of anything that allows you to refine what you're seeing while foraging). I'd like to suggest that maybe 'except quarried' or '-quarried' (where that could be made really any 1 thing of type foraged in the room, like, say, sandstone, or crystal or shard) would be more intuitive as syntax for it than 'forage for not this'.

It already sort of works like that.

"forage rock for gem" will discard anything you find that isn't a gem, which means no quarries (as far as I've seen so far).

The only issues with that are some gems don't have the keyword gem so you won't find them. There's also some other cool and valuable things you won't find if you limit your search. With keywords being inconsistent it's not worth it to me to use the specific when I forage.

And I LOVE foraging. It's like Armageddon's minigame.
Title: Re: forage stone for not quarried
Post by: Lizzie on January 31, 2017, 06:18:18 PM
Quote from: Miradus on January 31, 2017, 04:47:21 PM
Quote from: bardlyone on January 31, 2017, 02:15:17 PM
I like the premise (of anything that allows you to refine what you're seeing while foraging). I'd like to suggest that maybe 'except quarried' or '-quarried' (where that could be made really any 1 thing of type foraged in the room, like, say, sandstone, or crystal or shard) would be more intuitive as syntax for it than 'forage for not this'.

It already sort of works like that.

"forage rock for gem" will discard anything you find that isn't a gem, which means no quarries (as far as I've seen so far).

The only issues with that are some gems don't have the keyword gem so you won't find them. There's also some other cool and valuable things you won't find if you limit your search. With keywords being inconsistent it's not worth it to me to use the specific when I forage.

And I LOVE foraging. It's like Armageddon's minigame.

That's only useful to greb specific things, or specific types of things. Example:
forage rock for chunky
forage rock for hand
forage rock for piece
forage rock for small

With each thing, you will NOT get anything other than something with that specific word in the sdesc or keyword list. So if you want to find any gemstone OR any jasper OR any sandstone OR any obsidian, but you simply do not want anything quarried, you're out of luck. You have to pick which ONE you want, and the code will either give it to you or give you nothing.

What nauta is looking for, is an exclusion option. I agree 100% - I'd love to have an exclusion option for ALL foraging lists. That way you can...
forage rock -jasper.-sandstone.-basalt
forage food -tuber
forage artifacts -shard
forage wood -kindling.-pech
Title: Re: forage stone for not quarried
Post by: bardlyone on January 31, 2017, 06:30:40 PM
Quote from: Miradus on January 31, 2017, 04:47:21 PM
Quote from: bardlyone on January 31, 2017, 02:15:17 PM
I like the premise (of anything that allows you to refine what you're seeing while foraging). I'd like to suggest that maybe 'except quarried' or '-quarried' (where that could be made really any 1 thing of type foraged in the room, like, say, sandstone, or crystal or shard) would be more intuitive as syntax for it than 'forage for not this'.

It already sort of works like that.

"forage rock for gem" will discard anything you find that isn't a gem, which means no quarries (as far as I've seen so far).

The only issues with that are some gems don't have the keyword gem so you won't find them. There's also some other cool and valuable things you won't find if you limit your search. With keywords being inconsistent it's not worth it to me to use the specific when I forage.

And I LOVE foraging. It's like Armageddon's minigame.

Basically Lizzie gets what I mean. I play way too many grebbers because I feel the same way about loving to forage. I like what we have now, but I'm talking about adding an option for the polar opposite of that. So you can forage for any stone EXCEPT the one type, instead of foraging for ONLY the one type.
Title: Re: forage stone for not quarried
Post by: Shoka Windrunner on January 31, 2017, 07:43:10 PM
Certainly, I think it would potentially clean up the piles of unwanted, unloved pet rocks you see lying around at times.
Title: Re: forage stone for not quarried
Post by: Akariel on January 31, 2017, 08:00:28 PM
Quarries are not visible from other rooms and do not take up room weight. I made sure of that about a month ago due to the exact issue in the OP.
Title: Re: forage stone for not quarried
Post by: nauta on January 31, 2017, 09:19:25 PM
That's so awesome!  Sorry for the noise.
Title: Re: forage stone for not quarried
Post by: Jihelu on February 01, 2017, 12:04:41 AM
Quote from: Akariel on January 31, 2017, 08:00:28 PM
Quarries are not visible from other rooms and do not take up room weight. I made sure of that about a month ago due to the exact issue in the OP.
I recall being able to see quarries from other rooms.....

About a month + ago.
Thanks for the fix!
Title: Re: forage stone for not quarried
Post by: Miradus on February 01, 2017, 10:21:49 AM

I remembered that too and when that was posted I was in a room with some so I checked. Couldn't see them from one room away. Stealth fix? :)

Now maybe we can get a stealth fix in on these stupid oxen. They must all have asthma or something.
Title: Re: forage stone for not quarried
Post by: solera on February 01, 2017, 08:01:42 PM
I would still like to target non hand/head/blockies . The quarries become embarrassingly many, that's without attempting to spam.