cxi
ad4ef65cb3
Make CRAY copy its own life to particles it creates ( #335 )
2016-09-10 12:51:07 -04:00
jacob1
9277839f11
enable E182 in snapshots
2016-09-04 21:47:45 -04:00
SopaXorzTaker
968116bcad
Typo in BRMT's description ( #319 )
2016-09-04 19:47:10 -04:00
Simon Robertshaw
97a9f41ab9
Another experimental elemement, E182, some kind of nuclear fuel.
2016-08-07 21:36:32 +01:00
jacob1
cd41aac1f7
allow snapshots to still publish saves, as long as they don't use new features
2016-08-07 15:31:28 -04:00
Simon Robertshaw
b8e2113b05
Another experimental element, floats on water, supports other structures
2016-08-07 16:15:30 +01:00
Simon Robertshaw
4a3f3e763c
Rename experimental element
2016-08-07 16:15:01 +01:00
Simon Robertshaw
30c7c9107d
Experimental element - extra high thermal conductivity
2016-08-06 17:35:06 +01:00
jacksonmj
4f8f97d04b
Add control of gravity strength using tmp to WHOL
2016-07-26 23:26:37 +01:00
jacob1
6eb832207c
PIPE: don't try to render stickmen graphics if stickmen are inside the pipe
2016-07-25 23:59:26 -04:00
jacksonmj
fdb539064d
Prevent diffusion of stored water between GEL and SPNG if no water is stored
...
Reported by camtech56 in http://tpt.io/.293650
2016-07-26 00:59:41 +01:00
SopaXorzTaker
17398dd201
RPEL's ctype sets the element it repels
2016-07-17 16:47:43 -04:00
jacob1
443c81e67a
extra sanity check (was needed in my mod)
2016-07-16 00:50:09 -04:00
jacksonmj
57a3121a51
Limit MERC tmp to valid range
...
This preents "anti-mercury" (negative tmp from console) and also
slightly reduces how overpowered it can be in walls (enormous positive
tmp from console).
2016-07-16 01:16:04 +01:00
jacob1
337a929cc3
A few description updates from boxmein. Closes #282
...
I don't think we need to add the element name for elements like ACID in the description when it is already obvious
2016-06-11 11:00:06 -04:00
jacob1
0b1ffbcfd6
probably fix uninitialized thing in VIBR, might spend longer later messing with d4zk1tty's fuzzer script
2016-04-02 01:04:13 -04:00
jacob1
59d69ac8d0
revert THDR being changed to an energy particle
...
was causing issues that I forgot already so it is easier to just undo it
2016-04-02 00:21:13 -04:00
jacob1
0b0c73647a
don't remder AMTR as a gas
2016-03-12 13:39:54 -05:00
jacob1
3a76c1cadf
fix PBCN(LIGH)
2016-03-12 13:32:12 -05:00
jacob1
f6d82b6f8a
separate t and v argument in create_part, fix LIGH not defaulting to .life of 30 with clones / console
2016-01-11 22:38:42 -05:00
jacob1
85d89e9f87
simpler version of 9a2b7749c7
(gravity wall change)
...
All gravity sources are now prevented, now just the specific elements that create gravity.
2016-01-05 23:12:12 -05:00
jacob1
8630b0a926
change CRMC creation reaction from BREL + LAVA(CLST) to LAVA(QRTZ) + LAVA(CLST)
...
BREL didn't make much sense, and this one is funner
2015-12-27 21:28:57 -05:00
jacob1
9a2b7749c7
Newtonian Gravity sources inside of a no gravity grav wall zone no longer generate gravity
2015-12-26 01:23:53 -05:00
jacob1
2725a32b8e
Fix NTCT / PTCT / INWR triggering EMP blasts ...
2015-12-19 02:44:20 -05:00
jacob1
5ba34021bc
jacksonmj: Reduce ETRD lag e7c4b989654e
...
Improvement isn't as good as the EMP one in normal cases, but for intentional lag bomb saves it is much better. Tested it and confirmed it worked just like before this commit. etrd_life0_count is hopefully valid, the accuracy may not be as good as in jacksonmj's fork
2015-12-19 01:39:03 -05:00
jacob1
af48997228
fix mistake in EMP.cpp, add license header in Probability.cpp
2015-12-18 23:23:44 -05:00
jacob1
52a22bc7d6
jacksonmj: Move EMP triggering into SPRK_update 6ae719deb70d
2015-12-18 23:17:25 -05:00
jacob1
bb9b35f01d
jacksonmj: EMP lag is hereby banished. eeef50c0fcba
...
EMP destruction loop now happens once per frame instead of once per EMP
particle.
2015-12-18 23:10:28 -05:00
jacob1
74b8ba8a07
fix for previous commit, make sure .ctype is valid
2015-12-18 20:05:52 -05:00
jacob1
139bdd7f4d
fix STKM being unable to pick up most energy particles, or LOLZ/LOVE
2015-12-18 20:02:53 -05:00
jacksonmj
edf180b94e
SPRK(ETRD): Check life value of destination before conducting
...
This prevents ETRD conducting to neighbours which are still in the
cooldown period after the previous spark. This is for consistency with
all other conduction rules, and to prevent behaviour being dependent
on particle order.
2015-12-18 23:39:03 +00:00
jacob1
07be209094
remove extra spacing in all the element files
2015-12-18 02:27:19 -05:00
jacob1
b9c3eeae92
Allow old lua scripts which use state to work
2015-12-18 02:07:16 -05:00
jacob1
95ab91e91d
Remove .State property from all element files
2015-12-18 01:51:22 -05:00
jacob1
f1ea32516d
jacksonmj: Stop using Element.State 618c4b5ce5cd
2015-12-18 01:14:31 -05:00
jacob1
bfc19d1fd7
revert pull request #258 ( e308dd73bb
)
...
Causes some issues with particle movement which was breaking some saves, and the previous commit still fixes these elements to move through gas wall instead of powder wall
2015-12-18 00:56:42 -05:00
jacob1
d2807cb28f
Change AMTR and MORT to TYPE_GAS, and THDR to TYPE_ENERGY
2015-12-18 00:48:07 -05:00
jacob1
5be9773eca
fix another crash with invalid SOAP (soap was detached before SOAP update function ran)
2015-11-22 17:53:22 -05:00
jacob1
7a78b91f4f
reformat ARAY.cpp because coding style was really hard to read
2015-11-22 00:12:10 -05:00
jacksonmj
d0cf82de03
PSTN: compatibility with old saves with non-PSTN particles layered on top of the starting PSTN particle
...
P.S. don't use layering, this commit is exactly why it's bad. Layering makes adding new functionality without changing existing behaviour much more difficult, and makes the code more complicated than necessary.
2015-10-22 22:39:08 +01:00
jacksonmj
d0445258c5
CONV tmp value can now be used to restrict which elements get converted. Requires version bump to 92.
2015-10-13 01:33:19 +01:00
cracker64
9a65d60c6e
Now with 100% less =( .
...
Hot FWRK less laggy.
Define more constant floats.
Pump will now work at x=4,y=4.
Revert a DEUT change
2015-10-08 12:48:56 -04:00
cracker64
3263c9437a
Jacob's laziness made me do this again.
...
CELL checks +-1 aren't required.
Moo
2015-10-08 01:48:44 -04:00
jacob1
0a907c5177
fix bug if the first space after the DRAY was empty, fix bug with DRAY's ctype sometimes not working
2015-09-28 11:28:19 -04:00
jacob1
74471dcda4
DRAY only copies enery or non-energy particles, depending on the first one it sees
2015-09-25 13:52:59 -04:00
jacob1
4594de57b0
allow DRAY to copy energy particles
2015-09-24 00:14:28 -04:00
jBot-42
146fc4d5fa
Move GBMB to Force Menu
2015-09-18 15:46:53 -04:00
jacob1
2e32fba4d9
fix GRAV and EXOT button colors
...
this also fixes GRAV with pretty powders on. TODO: maybe use old GRAV color cycling
2015-09-01 01:46:33 -04:00
jacob1
48dbc4182d
Add CRMC from my mod 3dd3fb2f7801 92f0301295f6
2015-08-30 18:29:21 -04:00
jacob1
68b4f1efd6
MERC -> liquids, FUSE/FSEP -> explosives
2015-08-30 01:54:31 -04:00
jacob1
01afd69c17
STOR now automatically transfers to PRTI
2015-08-29 23:38:46 -04:00
jacob1
37794c01af
.tmp2 for CRAY now sets creation offset (just like DRAY)
...
LIFE info moved into .ctype, no reason to use a whole extra variable for it
2015-08-29 22:02:05 -04:00
jacob1
3d8f871fc7
reset invalid SOAP links even when soap is frozen
...
fixes tpt save id:1834554
2015-08-11 22:45:29 -04:00
jacob1
e9d6519800
small improvement to 7d7bf5eff6
2015-07-07 20:22:03 -04:00
jacob1
ab1226c58b
fix FIRE not burning things inside of walls
2015-06-28 17:33:45 -04:00
Sourec
4e8335b070
Changed falldown values for FIRE, CO2, and SMKE to zero, reverted changes to collision/placement logic
2015-06-11 16:31:21 -04:00
Sourec
7d7bf5eff6
Fixed CLST tmp value carrying over when converted by water
2015-06-05 21:40:28 -04:00
jacob1
c9d5841101
fix DRAY with .tmp = 0 (broken in a115e78952
)
2015-05-23 12:47:39 -04:00
Aditya Vaidya
13cc593d13
Fixed most spelling errors in code. 'originaly' is read as 'original Y', so not a typo
2015-05-18 15:16:01 -05:00
jacob1
dd102c1f11
fix possible crash when PROT removes spark on disabled elements
2015-05-10 21:16:53 -04:00
jacksonmj
38e21c8236
Fix crash when STOR is next to PIPE and has an invalid tmp value ( http://tpt.io/~1768004 )
2015-04-10 14:23:58 +01:00
jacksonmj
72329af09d
Fix DLAY delay changing during save+load
...
by rounding temperatures to nearest instead of always flooring.
Effect on DLAY delay:
Room temperature offset - loaded as whole number of degrees C, so rounding to nearest deg C gives the same number as flooring.
Full - loaded as whole number of K = original whole deg C - 0.15. Rounding to nearest deg C means the whole deg C delay from before saving is used as the number of frames to delay, instead of deg C - 1 if flooring was used.
2015-03-27 17:39:05 +00:00
jacksonmj
91e871d0ea
PSTN: allow zero or negative contributions towards movement amount
...
Note that final movement amount < 0 means no movement, it will not reverse the movement direction. This is to keep interpretation of inputs simple - PSCN always extends, other conductors always retract.
2015-02-24 22:48:31 +00:00
jacksonmj
cd71a6dff7
Float rounding strikes again - set destination coords using integers when moving particles with PSTN
...
instead of adding a delta value to the current position, which might not give the correct result. Particles (except solids) were on rare occasions ending up at a point 1 pixel away from where they should be after being pushed by PSTN. This led to stacking, and in the case of save 1732622 after changing BIZS to a liquid, to disintegration of the save.
(TPT++ version of commit 2ad996dfe621887355f8532f1262c306421bc2de in jacksonmj fork)
2015-02-23 13:35:17 +00:00
jacksonmj
d71a0d98eb
Allow TUNG melting point to be changed from Lua
...
Also set lava LowTemperature threshold to MAX_TEMP, to simplify changing melting points from Lua.
2015-02-23 13:24:27 +00:00
jacob1
03e07945e3
fix lua element update bugs, fixes #244
...
also add new mode for functions run before the normal update function
2015-02-13 14:18:55 -05:00
jacob1
84f13cfe63
fix compiling error on windows
2015-02-10 23:39:15 -05:00
jacob1
94e635b65d
fix negative tmp sing possibly generating max particles
2015-01-17 14:45:20 -05:00
jacob1
8c1db513f6
make sure ELEC dies in ELEC+NEUT reaction
2015-01-17 14:06:38 -05:00
jacob1
ace9e36cc6
fix ALL the warnings
...
mostly just using more size_t. Also do some formatting around if statements
2015-01-16 22:35:32 -05:00
jacob1
dce874484a
fix all the gcc warnings in the element files (except one in PSTN) + all the unused variable warnings
2015-01-10 22:43:33 -05:00
jacob1
0ad225d1fc
update VIBR randoms, fix any VINE in old saves also
2015-01-07 19:32:49 -05:00
jacob1
be6551ceea
fixes to rndstore in VIBR/VIRS, remove goto in PROT
2015-01-07 19:04:11 -05:00
jacksonmj
236ff08da9
Fix some problems noted in http://www.viva64.com/en/b/0298/
...
I've left some of the less important items, like SearchView.cpp "'then' statement is equivalent to the 'else' statement", and RequestBroker::Request::~Request, because I don't feel like spending a few days entirely rewriting those files at the moment (which is what I'd end up doing if I started fixing minor problems and refactoring...)
GameSave::readOPS - not changed. At some point we may have to move to a larger type for element IDs (probably two or four bytes), but PT_NUM isn't likely to be raised to the maximum value of that type immediately, so this check will be needed then. There should be an elements[partsData[i]].Enabled check in there too, but it might be a bit difficult - I'm not sure how to access a Simulation object from GameSave::readOPS...
Notes on changes:
Graphics::textsize, Element_FRZW::Element_FRZW - typos
Button::Draw - the extra case was originally used to invert the icon (draw it in black instead of in white) when the button was clicked. However, the icon colour is now automatically set depending on the background colour. (Note similar conditions "if(Enabled) { if(isButtonDown || (isTogglable && toggle)) " near the start of the function - same logic but in a different place, setting icon colour indirectly).
Simulation::transform_save - unused redundant function, everything uses GameSave::Transform which does much the same thing.
PreviewView::NotifySaveChanged - should be height==YRES/2, it's checking whether the preview image is the correct size, and resizing it if it isn't.
Element_FWRK::update - no idea why that line was there, even though it was my commit that originally added it...
2014-12-25 17:09:35 +00:00
jacob1
0f583f3bd8
fix PLSM spawning in fusion (allow some stacking), GRVT in O2 fusion
2014-12-15 15:52:08 -05:00
cracker64
6410171bd5
Fix IRON rust
...
Fix some randoms
2014-12-06 16:23:45 -05:00
cracker64
a115e78952
More element optimizations!
...
ACEL, changed a range check
DRAY, Fixed repetitive checking
GOLD, less rand()
PLNT, removed range checks, less rand()
PROT, used a switch()
VIBR, less rand()
VINE, less rand(), fixed growing along WOOD
VIRS, less rand()
2014-12-06 15:43:11 -05:00
cracker64
783b2c1736
Stop PIPE graphics from creating a particle every frame.
...
Remove temperature setting, this feature is beyond useless now, PROP+Lua are better ways to manually set pipe.
2014-12-06 01:16:04 -05:00
jacksonmj
e25fac5037
Less layering of particles in fusion
...
Fixes http://tpt.io/~1683916 - PLSM was created on top of DMND, which other particles then displaced, leading to lots of stacking and particles escaping through the DMND.
2014-11-30 17:22:56 +00:00
jacob1
70a815a8c7
fix crash when PIPE finds PRTI with an invalid channel
2014-11-29 00:30:05 -05:00
jacob1
aa8fe86735
fix DEUT graphics (accidentally changed something)
2014-11-21 16:40:46 -05:00
jacob1
16ce3a68c0
more jacksonmj suggestions: save edgeMode in saves, BVBR absorption fix, life saving fix, DEUT graphics change, PROT fix, SOAP graphics fix
2014-11-21 15:41:22 -05:00
jacob1
e20f6b101b
jacksonmj: "Allow ELEC to pass through GLOW, fixes ELEC->PHOT reaction in GLOW." f162984e22e5 + some parts of "Misc small fixes" 95cf5bd67c2b
2014-11-21 15:41:22 -05:00
jacob1
6ce2d5fe92
#define MAX_FIGHTERS + some fixes
2014-11-20 22:11:20 -05:00
jacob1
8233b28820
Change GRVT flammability to 0
2014-11-19 22:49:20 -05:00
jacob1
c673f30e14
fixes suggested by jacksonmj in -dev
...
fixes bugs in DMG, LIGH, PHOT, and QRTZ, also makes deut explosions less laggy when they hit the particle limit
2014-11-14 12:48:06 -05:00
jacksonmj
b3b852249b
Deco off (except black deco) for LCRY in save thumbnails
2014-11-09 21:33:08 +00:00
jacob1
43bab359db
fixes to ELEC (missed from 6dc7eaf43e
), FUSE (changed in 27e3e12518
), and IRON (changed in 0d70547cf0
)
2014-11-05 19:15:57 -05:00
jacksonmj
66a530f5a3
FRZZ and FRZW changes/fixes
...
Fix FRZW low temperature transition (accidentally turned into a high temperature transition in b661418d
).
FRZZ now melts into FRZW, so that single pixels "form ice that always cools" as in FRZZ description.
ICE update function: was meant to be checking not setting parts[i].ctype. However, turning FRZZ into self-cooling ice seems a logical thing to do, so set ctype of parts[r>>8].ctype, and make all types of ice cause this reaction (not just ICE(FRZW) as was apparently the original intention of the ctype check).
2014-11-05 23:38:22 +00:00
jacksonmj
fb796c873b
PSTN: allow movement amount to be set by temperature. Requires major version increment.
2014-11-04 15:38:41 +00:00
jacob1
6463d04f6c
fix a few of the most spammy warnings (there are still hundreds of warnings though)
...
TODO: actually fix all the warnings
2014-10-23 00:42:13 -04:00
jacksonmj
a78bd78bfc
Fix SNOW(SLTW) melting temperature, and change ACID hardness value to make more sense on the wiki
2014-10-06 12:57:32 +01:00
jacksonmj
74dcd4074e
Merge branch 'develop' of github.com:simtr/The-Powder-Toy into develop
2014-09-28 14:34:44 +01:00
jacob1
a78129adb9
Fix spelling mistake
2014-09-08 16:06:12 -04:00
jacksonmj
ba31457701
No black BIZR except by deco
2014-09-02 19:20:57 +01:00
jacob1
2140beb9cc
make sure soap doesn't crash when messed with in the console
2014-08-25 19:05:32 -04:00
jacob1
f8782338d7
make tpt.selected* and tpt.brushx/y writable (replaces simstate branch)
2014-08-19 02:01:31 -04:00
jacob1
5ab1aa6989
fix RPEL internal name
2014-08-15 21:52:17 -04:00
jacob1
1314567c13
fix DRAY
2014-08-15 20:19:30 -04:00
jacob1
986b25b508
redo spark graphics, add spark render setting
2014-08-11 21:56:40 -04:00
jacob1
774fb88002
fix REPL crash (ignoring BOUNDS_CHECK for now)
2014-08-11 01:11:58 -04:00
jacob1
859fdece6a
prevent PROT from rapidly changing portal temps
2014-08-06 11:49:57 -04:00
jacksonmj
c83945e281
Allow PHOT deco, in old saves only
2014-08-05 22:11:07 +01:00
jacob1
45a051d4ea
New element: DRAY (Duplicator RAY)
...
Replicates a line of particles in front of it, affected by tmp and tmp2, and being sparked by PSCN or INWR
2014-07-03 00:59:41 -04:00
jacob1
70676aba4a
New element: GRVT (gravitons), energy particle that creates Newtonian Gravity
2014-07-02 23:06:45 -04:00
jacob1
3e65ed5ffd
fix URAN not heating up under pressure at 0K
2014-06-28 22:22:44 -04:00
jacksonmj
f304e789f4
Disable deco on photons, to prevent potential confusion between wavelength and deco colours.
...
(Previously, it always glowed with the wavelengths colour, deco only worked fine in nothing view).
2014-05-23 01:06:09 +01:00
jacksonmj
1b3f3aa979
Make black deco FILT with any tmp affect CRAY beam, not just tmp=0
2014-05-23 00:58:34 +01:00
jacksonmj
91b4d1bf23
FILT with black deco causes ARAY/CRAY beams passing through it to have black deco.
...
The black deco is turned off if the beam passes through some FILT that isn't decorated black.
2014-05-22 14:55:18 +01:00
jacksonmj
1158647285
Visual effect for FILT when an ARAY or CRAY beam passes through it
...
(increased opacity for up to 4 frames)
2014-05-22 14:30:23 +01:00
jacksonmj
2946030517
Less overpowered (in terms of bunkers) QRTZ
...
Newly grown QRTZ now inherits the temperature of the particle that created it
and PQRT doesn't start growing in midair immediately after it's been shattered
2014-05-22 03:50:04 +01:00
jacob1
20a7d0528b
also fix SOAP changing .ctype of particles it thinks it's attached to
2014-05-12 11:27:39 -04:00
jacob1
8dad0483cf
make sure no effect FILT mode doesn't affect BRAY
2014-04-29 20:43:16 -04:00
jacob1
df1aac8180
still allow NBLE to ionize at high temperatures (probably won't interfere with fusion)
2014-04-26 14:35:01 -04:00
jacob1
270a3837bc
PROT goes through portals
2014-04-25 21:08:09 -04:00
jacob1
68e4c638bf
fix SOAP changing the .tmp/.tmp2 of particles it thinks it's attached to
2014-04-17 12:03:24 -04:00
jacob1
181f0cfe5b
Add in life values that use EXOT's grey coloring scheme, but don't copy things
...
At the request of Catelite :P
2014-04-08 23:45:05 -04:00
jacksonmj
11997cf3ad
Prevent red BRAY from affecting FILT colour via DTEC
2014-03-27 19:36:51 +00:00
jacob1
a71cb3b254
fix / change 2, 3, and 4 from http://tpt.io/.265916
...
mostly makes BRAY act more like PHOT in some cases
2014-03-26 22:07:04 -04:00
jacksonmj
e5941950ba
Make FILT tmp=6 ("no effect" mode) work with CRAY
...
(Other FILT modes still don't work with CRAY, only tmp=0 or 6)
2014-03-09 09:41:43 +00:00
jacob1
c5989605a5
fix compiling in visual studio
2014-01-20 11:43:12 -05:00
mniip
69c9be0e99
implement generic property value as a union instead of void*
2014-01-16 11:00:47 -05:00
jacob1
eaf0daec43
insulators block ambient heat (when there are a lot nearby)
2014-01-07 16:32:15 -05:00
jacob1
f7cd7691e8
fix bug where STKM can be killed from HSWC when turned off
2014-01-07 16:32:15 -05:00
jacob1
41cc0a398a
better way to prevent PROT in fusion
2014-01-07 16:32:15 -05:00
jacksonmj
4b28cdb6ba
Prevent FILT being rendered as black if the only wavelengths present are invalid
2014-01-03 12:21:15 +00:00
mniip
3e3fe1af73
fix VIRS's part_change_type abuse, fix http://tpt.io/.260472
2013-12-25 16:07:18 +04:00
jacob1
2c7a527030
Revert ef6cc9c
, due to some advanced electronics breaking
...
TODO: add a flag to some electronics so that we can fix all the bugs at once / add new things without breaking things
2013-12-18 23:23:07 +04:00
jacob1
78c89dc62b
fix crash with LIFE, fix compiling with lua (again)
2013-12-18 23:23:04 +04:00
jacob1
138cb4d757
exception bluescreens print what the exception was, some (probably unnecessary) fixes to fusion that were never merged in, and probably a compiling fix
2013-12-03 22:05:35 -05:00
jacksonmj
186f8a1742
No more red DEUT
...
Prevent some integer overflows in DEUT graphics and interactions.
2013-11-07 21:36:36 +00:00
mniip
9183fa1755
apparently Ximon hates const; a lot;
...
added a bunch of const everywhere, had to modify a few functions to be const-compliant
2013-10-30 04:38:13 +04:00
Simon Robertshaw
e78dcae851
Merge branch 'master' into develop
2013-10-29 19:39:52 +00:00
jacob1
a4da2566ec
fix virus graphics
2013-10-26 12:10:10 -04:00
jacob1
79a2ac3103
fix issue with FILT PHOT scattering
2013-10-23 21:01:06 -04:00
jacob1
ba43e4d238
revert b17ef7f938
(couldn't figure out better fix for the new PSTN bug), fix annoyance with clicking on save comments changing pages
2013-10-18 16:13:40 -04:00
jacob1
c4dcb37de4
PROT with 0 life doesn't die
2013-10-10 17:13:11 -04:00
jacob1
d1e75c7a50
make PROT lasers easier to make, adjust velocities needed to make things when smashing PROT together, use FIRE_BLEND for PROT graphics
2013-09-28 20:31:35 -04:00
jacob1
8fc39d659c
VIRS only burns with PLSM, and has the NO_DECO graphics flag
2013-09-28 19:45:15 -04:00
liquidcaesium
a376b72b36
LCRY + PROT = LCRY + PHOT
...
Protons passing through active LCRY get turned into photons slowly, functioning as a powered converter in that manner.
2013-09-24 17:58:35 +03:00
jacksonmj
ef6cc9c418
WIFI: always delay one frame before conducting, to prevent particle order issues
2013-09-21 13:18:27 +01:00
jacob1
e578b9f799
fix BIZS melting without heat sim on (I wonder how many more elements still do this ...)
2013-09-14 19:13:29 -04:00
jacob1
c6ba381424
make PROT more red, and VIRS burns less
2013-09-14 10:26:23 -04:00
jacob1
ae8e5e5c34
PROT+DEUT causes DEUT implosion (same as with NEUT, just negative pressure)
...
Also PHOT+H2 now also make PROT+ELEC (which will not combine to make more H2)
2013-09-13 22:02:03 -04:00
jacob1
aa2ec3d162
fix SOAP crashes by making sure particle id's are between 0 and NPART. Also cut off .life to between 0 and 65535 when saving
2013-09-12 14:35:10 -04:00
jacob1
332aa25bf6
save pavg[] in saves, for VIRS, PIPE, and STOR
2013-09-11 20:41:43 -04:00
jacksonmj
2e52e209a6
CRAY: only set decoration colour after passing through FILT
2013-09-08 17:33:12 +01:00
jacksonmj
45dc8ac757
Revert "Don't reset decorations when sparking with INWR+CRAY(most things)"
...
This reverts commit 5ad67f7778
.
2013-09-08 17:28:51 +01:00
jacksonmj
7270461985
Enabled check for PIPE too
2013-09-08 11:52:44 +01:00
jacksonmj
5ad67f7778
Don't reset decorations when sparking with INWR+CRAY(most things)
...
INWR+CRAY(SOAP) will reset decorations
2013-09-08 11:30:21 +01:00
jacob1
d9089d13c4
fix BCOL melting and not burning when heat sim is off
2013-09-05 14:45:47 -04:00
jacksonmj
96221ff23e
Make effect of PROT on wifi and portals independent of channel temperature ranges
...
Cold PROT decreases channel by 1, v cold by 10. Hot PROT increases channel by 1, v hot by 10.
Since the effect is specified in terms of effect on channel number not on temperature, this will
cause less problems if the temperature gap is ever decreased to add more channels.
2013-09-05 18:06:13 +01:00
jacob1
7d9fa1bfc7
new element: VIRS (also solid and gas virus states). Cured by SOAP (CURE element was not added)
2013-09-04 00:20:21 -04:00
jacob1
6c4f63be3b
proton collision reaction (might need to be modified). Also some ways to go to/from protons
2013-09-02 21:58:52 -04:00
jacob1
f1145f31f5
new element: PROT (protons) TODO: proton colliders to produce heavier elements
2013-09-01 21:52:38 -04:00
jacob1
d38af2764c
move QRTZ .tmp into .tmp2 and .ctype into .tmp, fixes bug where sparking QRTZ resets .ctype and stops it from growing
2013-08-29 22:18:35 -04:00
jacob1
b17ef7f938
fix PSTN bug found in save 1299509 (hopefully won't break anything)
2013-08-29 21:00:31 -04:00
jacksonmj
c3d3f9fc2a
FILT mode for old QRTZ scattering, for Catelite.
...
FILT graphics could maybe do with changing in this mode.
2013-08-29 18:28:49 +01:00
jacksonmj
268158f1dd
More FILT modes: XOR and NOT
2013-08-29 18:24:44 +01:00
jacksonmj
bebe9bd8fd
Add a way for photons to set the colour of FILT (major version bump required)
...
Also add some new FILT modes, and make FILT modes affect BIZR and
BRAY colour in the same way as they affect photon colour. Photons
passing next to DTEC will set the colour of all FILT in a straight
line starting from any FILT adjacent to the DTEC (a bit like an
ARAY beam), and the exact colour of the photon will be used for
FILT interactions instead of the colour based on temperature.
FILT tmp=4: red shift, tmp=5: blue shift. Size of shift determined
by FILT temperature. tmp=6: FILT has no effect on photon colour
(possible before by using invalid tmp modes, but here's a supported
method of doing it. Invalid tmp modes should be automatically replaced
in existing saves).
Also, FILT mode is now described in the HUD.
2013-08-29 17:19:07 +01:00
Saveliy Skresanov
12c471f257
Soap freezing temp is -25C now
2013-08-15 22:02:24 +07:00
jacob1
468e678cd6
unhide FOG and RIME elements. TODO: hide VINE from the menu? (seems useless, would make the menu less scrolly)
2013-07-19 21:22:26 -04:00
jacob1
6a4cc7e1f7
stickmen element defaults to right selected element if possible, or else still DUST
2013-07-18 17:57:04 -04:00
jacob1
e0d982367b
fix bug where saving and loading elements in saves relied on the name being consistent between versions. The palette should only be used for lua elements
2013-07-15 17:42:43 -04:00
jacob1
8d5fe459fe
'n' to toggle Newtonian Gravity, quickoption tooltips show which keys you need to press to toggle them
2013-07-15 13:09:19 -04:00
jacob1
864f0e6f45
WIFI lines aren't drawn in persistent mode, and are based on current temp, not tmp, so they work when paused
2013-07-13 12:06:43 -04:00
jacob1
c29bfd285d
fix bug where PSTN would write past tempParts and into other things, like corrupting TRON colors and making it all blue
2013-07-10 21:01:34 -04:00
jacob1
3203e597b9
fix piston bugs, fix crashes, don't use bluescreens when compiled with debug mode in visual studio
2013-07-10 16:59:10 -04:00
Saveliy Skresanov
ac66ce3b3c
Fix the bug where stickmen were shooting LIGH only in one direction.
2013-07-07 11:52:08 +07:00
jacob1
e8b0e31656
Merge pull request #143 from mniip/foo
...
fix PSTN coloring
2013-07-02 13:49:19 -07:00
jacob1
519d220101
save more settings in powder.pref like ngrav_enable, aheat_enable, pretty powders, and debug hud. Also save ambient heat in saves, and add a warning in the intro text in betas that you can't save publically
2013-07-02 15:09:00 -04:00
mniip
b8c218c89b
shouldn't use PIXR/G/B/PACK there, would break if using a non-standard bit scheme
2013-06-28 15:02:50 +04:00
jacob1
c1320d2007
fix sim.loadStamp return value, remove VINE_MODE
2013-06-27 12:10:55 -04:00
jacob1
76ce2de1ce
change some wall descriptions a little
2013-06-23 20:40:19 -04:00
jacob1
43540eb7e4
Add back replace mode and specific delete *
...
* only usable by Lua
2013-06-22 22:48:51 -04:00
jacob1
625766028d
fix NEUT not setting off DEUT directly under it (save 1236560)
2013-06-22 12:39:44 -04:00
jacob1
66f250b29d
fix PTCT melting temperature, seems to have been broken in 525f87fd6b
, fixes #108
2013-06-20 23:01:41 -04:00
jacob1
f0f2c43277
CFLM is a gas ... not a liquid. Fixes #116
2013-06-20 22:42:21 -04:00
Saveliy Skresanov
03f2590967
Lower rounding errors in BIZR code and make it change color both on vertical and horizontal movement.
2013-06-12 20:14:34 +07:00
jacob1
b699bb176f
Add two new properties for CLNE-like elements
...
the thing CLNE does, drawing upon it will set ctype; and what BCLN does to CLNE - disables #1 ). Made use of the two new properties
2013-06-10 10:51:55 -04:00
jacob1
a6ee8e2af1
fix NEUT created from DEUT explosions sometimes having the deco color of previous particles. Also allow the deco editor to color energy particles instead
2013-06-09 11:15:24 -04:00
cracker64
e1d8585871
Jacob can't into switches
2013-05-21 17:54:37 -03:00
jacob1
6fec955f41
TPT: Stop STKM being able to jump on the bottom of the screen 509b84b4f
2013-05-20 16:50:49 -04:00
jacob1
35f84a0942
Merge remote-tracking branch 'origin/master'
2013-05-20 11:27:18 -04:00
jacob1
826b966668
reduce rand() chances to 5x the old values in elements that were changed to 3x3 loop checks instead of 5x5. Also some other fixes I found when looking at what had been changed.
2013-05-20 11:26:51 -04:00
jacob1
d29b001d82
Merge branch 'master' of git@github.com:FacialTurd/The-Powder-Toy.git
2013-05-19 22:59:42 -04:00
jacksonmj
45f057957b
Fix description: METL does not break under pressure
2013-05-19 21:46:55 +01:00
jacob1
5b1389621f
minor fixes to descriptions (again)
2013-05-18 23:12:37 -04:00
jacob1
981f6984c2
Merge branch 'HEAD' of git@github.com:FacialTurd/The-Powder-Toy.git
2013-05-17 12:44:25 -04:00
jacob1
cbd402d8cb
fix CFLM making VIBR unable to explode
2013-05-17 12:44:18 -04:00
jacob1
6f8e2c0345
remove unneeded / duplicate constants, fix SPC_AIR/other tools so it won't conflict with lua elements (the 11th one won't work right now)
2013-05-16 17:01:33 -04:00
jacob1
751da54183
make making VIBR from molten TTAN+EXOT a little easier (molten VIBR slowly kills EXOT)
2013-05-16 15:09:17 -04:00
jacob1
ebe145b39f
soap lines show in nothing mode, some small changes to arguments for sim api drawing functions
2013-05-16 00:55:44 -04:00
jacob1
81876a93a3
redo some brush drawing stuff to remove useless checks, and to allow for replace mode in the future
2013-05-16 00:20:07 -04:00
jacob1
18ddb7a155
some more description changes
2013-05-13 22:12:03 -04:00
jacob1
7856f727a5
rename TUGN to TUNG (more popular spelling). Broken BRMT smelts back into TUGN
2013-05-13 21:10:45 -04:00
mniip
4d9b9b17d7
D:
2013-05-11 15:08:32 +04:00
jacob1
67e1213905
fix tpt.message_box, fix compiling error
2013-05-09 18:52:13 -04:00
Saveliy Skresanov
f35f221554
Rocket boots for fighters.
2013-05-08 23:36:04 +07:00
Saveliy Skresanov
c6930ddc5f
Merge remote-tracking branch 'upstream/master'
2013-05-08 23:10:01 +07:00