Well I've been fooling around, and I've managed to get the strength script working the way I want. Basically, if Iran takes Jerusalem, Israel retaliates and launches the Samson option and devastates friendly and enemy troops with nuclear weapons.
I also want selected cities to lose their strength for a time, but not for the the whole game. Also, is it possible to have a country that is not active (Russia) lose resource strength in Moscow? I want the Samson Option to also devastate Moscow even though they have not joined the war.
Here is my supply script that failed to work...
{
#NAME= Samson Option
#POPUP= Nuclear Devastation!
#IMAGE=
#SOUND=
#FLAG= 1
#TYPE= 2
#AI= 0
#LEVEL= 0
Set global variable condition to always trigger (dummy value)
#GV= 1[1,100]
Set link value to always trigger (dummy value)
#LINK= 0[0]
#COUNTRY_ID= 29
#FLAG_ID= 29
#TRIGGER= 100
#SEASON_FLAG= 0
#DATE= 2013/01/01
Set variable conditions:
1st Line - Israel politically aligned with the Allies and surrendered
#VARIABLE_CONDITION= 29 [2] [100] [1]
Troops in Jerusalem (dummy value)
#SOURCE_POSITION= 0,0 [0]
#DESTINATION_RESOURCE= 101,23 [5,10]
#DESTINATION_RESOURCE= 98,29 [5,10]
#DESTINATION_RESOURCE= 99,31 [5,10]
#DESTINATION_RESOURCE= 108,31 [5,10]
#DESTINATION_RESOURCE= 112,26 [5,10]
#DESTINATION_RESOURCE= 113,23 [5,10]
#DESTINATION_RESOURCE= 119,28 [5,10]
#DESTINATION_RESOURCE= 103,28 [5,10]
#DESTINATION_RESOURCE= 107,26 [5,10]
#DESTINATION_RESOURCE= 108,29 [5,10]
#DESTINATION_RESOURCE= 80,30 [5,10]
#DESTINATION_RESOURCE= 103,10 [5,10]
#DESTINATION_RESOURCE= 102,26 [5,10]
}