Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: An idea I've had for some time  (Read 1247 times)

Intro1827

  • Bay Watcher
    • View Profile
An idea I've had for some time
« on: March 17, 2012, 02:05:55 pm »

As someone who has never tried modding, but has gotten very frustrated navigating the caverns and the catacombs/sewers, I come bringing an idea, hoping someone can help me make it appear in my game: a way to craft items (potions?) from certain subterranean animals that make it possible for an adventurer to see in the dark. Maybe [EXTRAVISION] ?
As I said, no idea, never tried modding before.
Logged
In mid air, the dwarf continued to take hits from both the minecart and his own falling axe.

miauw62

  • Bay Watcher
  • Every time you get ahead / it's just another hit
    • View Profile
Re: An idea I've had for some time
« Reply #1 on: March 17, 2012, 02:24:10 pm »

As someone who has never tried modding, but has gotten very frustrated navigating the caverns and the catacombs/sewers, I come bringing an idea, hoping someone can help me make it appear in my game: a way to craft items (potions?) from certain subterranean animals that make it possible for an adventurer to see in the dark. Maybe [EXTRAVISION] ?
As I said, no idea, never tried modding before.

The syndrome would be quite simple, it would just be:
[SYNDROME]
   [SYN_INGESTED]
   [CE_ADD_TAG:EXTRAVISION]

not sure about the reaction tough.
Logged

Quote from: NW_Kohaku
they wouldn't be able to tell the difference between the raving confessions of a mass murdering cannibal from a recipe to bake a pie.
Knowing Belgium, everyone will vote for themselves out of mistrust for anyone else, and some kind of weird direct democracy coalition will need to be formed from 11 million or so individuals.

smokebubble

  • Bay Watcher
    • View Profile
Re: An idea I've had for some time
« Reply #2 on: March 17, 2012, 05:40:20 pm »

I thought [EXTRAVISION] only allows a creature to see without eyes. At least that's all the wiki says it can do.
Logged

Warlord255

  • Bay Watcher
  • Master Building Designer
    • View Profile
Re: An idea I've had for some time
« Reply #3 on: March 17, 2012, 06:29:54 pm »

Glowing creatures/mats might work better, since light sources actually do stuff in Adventure mode, IIRC.
Logged
DF Vanilla-Spice Revised: Better balance, more !!fun!!
http://www.bay12forums.com/smf/index.php?topic=173907.msg7968772#msg7968772

LeadfootSlim on Steam, LeadfootSlim#1851 on Discord. Hit me up!

Intro1827

  • Bay Watcher
    • View Profile
Re: An idea I've had for some time
« Reply #4 on: March 17, 2012, 06:38:33 pm »

GCS have [EXTRAVISION], but they do have eyes. Then again, Dralthas don't, so I'm not sure how they work.
Are there actually any light sources?

Also, would it be possible to add tags like [TAN_MAT], but completely new? So you could use one of several items in a reaction.
« Last Edit: March 18, 2012, 06:54:55 am by Intro1827 »
Logged
In mid air, the dwarf continued to take hits from both the minecart and his own falling axe.

Intro1827

  • Bay Watcher
    • View Profile
Re: An idea I've had for some time
« Reply #5 on: March 18, 2012, 11:54:32 am »

Anyone?
Logged
In mid air, the dwarf continued to take hits from both the minecart and his own falling axe.

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: An idea I've had for some time
« Reply #6 on: March 18, 2012, 12:24:20 pm »

EXTRAVISION gives a second sight basically that is fixed for 20 tiles, where as EYES that have SIGHT can see farther with the VIEWRANGE tag

so eyes with a VIEWRANGE of 30 will allow the creature to see 30 tiles away, but if it's eyes are impaired/lost
then EXTRAVISION kicks in and allows it to see 20 tiles like normal even tho all it's primary SIGHT organs are gone

as for your TAN_MAT im slightly lost. you mean REACTION_CLASS(es) or HAS_MATERIAL_PRODUCT(s)?

Those tags go onto MATERIALS also there is a difference between the two tags

REACTION_CLASS just makes that type of material a target for reactions (INORANICS)
best used for reactions that don't require complex materials for GET_MATERIAL_FROM_REAGENT like booze from a plant
aka best used for: turning a rock into furniture (INORGANICs)

HAS_MATERIAL_PRODUCT gives that material another material (like your mentioned TAN_MAT)
this is used for complex material reactions like tanning (turning raw skin into leather)
Skin has a HAS_MATERIAL_PRODUCT:TAN_MAT(this is the ID):LOCAL_CREATURE_MAT(target material location):LEATHER(material)
Best used for generic conversions of a range of materials into another
Logged

Quietust

  • Bay Watcher
  • Does not suffer fools gladly
    • View Profile
    • QMT Productions
Re: An idea I've had for some time
« Reply #7 on: March 18, 2012, 12:32:48 pm »

REACTION_CLASS just makes that type of material a target for reactions (INORANICS)
best used for reactions that don't require complex materials for GET_MATERIAL_FROM_REAGENT like booze from a plant
aka best used for: turning a rock into furniture (INORGANICs)
INORGANIC is not a reaction class - FLUX, GYPSUM, and CAN_GLAZE are reaction classes, as are FAT, SOAP, TALLOW, MILK, CHEESE, and WAX.

HAS_MATERIAL_PRODUCT:TAN_MAT(this is the ID):LOCAL_CREATURE_MAT(target material location):LEATHER(material)
Strictly speaking, LOCAL_CREATURE_MAT:LEATHER is a single unit which specifies the material - it could just as easily be CREATURE_MAT:CAT:LEATHER, PLANT_MAT:MUSHROOM_HELMET_PLUMP:SEED, or INORGANIC:GYPSUM.
Logged
P.S. If you don't get this note, let me know and I'll write you another.
It's amazing how dwarves can make a stack of bones completely waterproof and magmaproof.
It's amazing how they can make an entire floodgate out of the bones of 2 cats.

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: An idea I've had for some time
« Reply #8 on: March 18, 2012, 12:55:50 pm »

REACTION_CLASS just makes that type of material a target for reactions (INORANICS)
best used for reactions that don't require complex materials for GET_MATERIAL_FROM_REAGENT like booze from a plant
aka best used for: turning a rock into furniture (INORGANICs)
INORGANIC is not a reaction class - FLUX, GYPSUM, and CAN_GLAZE are reaction classes, as are FAT, SOAP, TALLOW, MILK, CHEESE, and WAX.

HAS_MATERIAL_PRODUCT:TAN_MAT(this is the ID):LOCAL_CREATURE_MAT(target material location):LEATHER(material)
Strictly speaking, LOCAL_CREATURE_MAT:LEATHER is a single unit which specifies the material - it could just as easily be CREATURE_MAT:CAT:LEATHER, PLANT_MAT:MUSHROOM_HELMET_PLUMP:SEED, or INORGANIC:GYPSUM.
Ah I meant it is best used for INORGANICs like giving MARBLE [REACTION_CLASS:FLUX] and the others you mentioned, since [REACTION_CLASS:XXXX] is a custom ID that can be whatever you want.

as for LOCAL_CREATURE_MAT that was a direct rip from vanilla raws I just commented it slightly. But you are right, but HAS_MATERIAL_PRODUCT works better for GET_MATERIAL_FROM_REAGENT reactions then REACTION_CLASS because just slapping [REACTION_CLASS:BOOZE_PLANT] onto a plant then using
PRODUCT:100:5:DRINK:NONE:GET_MATERIAL_FROM_REACTION:plant:NONE will give you "generic drink"

where as using a MATERIAL_PRODUCT:BOOZE_MAT:LOCAL_PLANT_MAT:DRINK inside the plant then using
PRODUCT:100:5:DRINK:NONE:GET_MATERIAL_FROM_REACTION:plant:BOOZE_MAT
will work as it was intended.

I'm just bad at explaining things :P
Logged

Intro1827

  • Bay Watcher
    • View Profile
Re: An idea I've had for some time
« Reply #9 on: March 18, 2012, 05:16:38 pm »

I don't think I got all of that .-.
I'll try looking at some vanilla raws and figure it out from there.
Logged
In mid air, the dwarf continued to take hits from both the minecart and his own falling axe.